-
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.
Rename Faker::show to Faker::Theater (#2921)
* Renamed Faker::Show to Faker::Theater * Updated Readme * Updated test to explcitly use Faker::Theater
- Loading branch information
1 parent
e15e606
commit dd8c88c
Showing
6 changed files
with
40 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Faker::Theater | ||
|
||
```ruby | ||
# Produces the name of a musical for an older audience | ||
Faker::Theater.adult_musical #=> "Mamma Mia!" | ||
|
||
# Produces the name of a musical for a younger audience | ||
Faker::Theater.kids_musical #=> "Into the Woods JR." | ||
|
||
# Produces the name of a play | ||
Faker::Theater.play #=> "The Death of a Salesman" | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
en: | ||
faker: | ||
show: | ||
theater: | ||
adult_musical: | ||
- "Elton John and Tim Rice's Aida" | ||
- "Ain't Misbehavin'" | ||
|
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