-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create docs for Sword Art Online * Create methods for Sword Art Online * Build out arrays for Sword Art Online * Create tests for Sword Art Online * Finish sword_art_online.yml * Finish tests for Sword Art Online * Fix rubocop violations and update changelog.md * Update CHANGELOG.md * Create docs for Sword Art Online * Create methods for Sword Art Online * Build out arrays for Sword Art Online * Create tests for Sword Art Online * Finish sword_art_online.yml * Finish tests for Sword Art Online * Update CHANGELOG.md * Update CHANGELOG.md * Create docs for Sword Art Online * Create methods for Sword Art Online * Build out arrays for Sword Art Online * Create tests for Sword Art Online * Finish sword_art_online.yml * Finish tests for Sword Art Online * Update CHANGELOG.md * Build out arrays for Sword Art Online * Finish sword_art_online.yml * Update CHANGELOG.md
- Loading branch information
1 parent
51be74d
commit 9715dcc
Showing
6 changed files
with
409 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Faker::SwordArtOnline | ||
|
||
```ruby | ||
# Random Sword Art Online real name | ||
Faker::SwordArtOnline.real_name #=> "Kirigaya Kazuto" | ||
|
||
# Random Sword Art Online game name | ||
Faker::SwordArtOnline.game_name #=> "Silica" | ||
|
||
# Random Sword Art Online location | ||
Faker::SwordArtOnline.location #=> "Ruby Palace" | ||
|
||
# Random Sword Art Online item | ||
Faker::SwordArtOnline.item #=> "Blackwyrm Coat" | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module Faker | ||
class SwordArtOnline < Base | ||
class << self | ||
def real_name | ||
fetch('sword_art_online.real_name') | ||
end | ||
|
||
def game_name | ||
fetch('sword_art_online.game_name') | ||
end | ||
|
||
def location | ||
fetch('sword_art_online.location') | ||
end | ||
|
||
def item | ||
fetch('sword_art_online.item') | ||
end | ||
end | ||
end | ||
end |
Oops, something went wrong.