Skip to content

Commit

Permalink
Merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
salochara committed Nov 20, 2023
2 parents 7d9f26c + a1983ba commit 3fb283e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
11 changes: 0 additions & 11 deletions doc/movies/room.md

This file was deleted.

11 changes: 11 additions & 0 deletions doc/movies/the_room.md
@@ -0,0 +1,11 @@
# Faker::Movies::TheRoom

```ruby
Faker::Movies::TheRoom.actor #=> "Tommy Wiseau"

Faker::Movies::TheRoom.character #=> "Johnny"

Faker::Movies::TheRoom.location #=> "Johnny's Apartment"

Faker::Movies::TheRoom.quote #=> "A-ha-ha-ha! What a story, Mark!"
```
8 changes: 4 additions & 4 deletions lib/faker/movies/room.rb → lib/faker/movies/the_room.rb
Expand Up @@ -14,7 +14,7 @@ class << self
#
# @faker.version next
def actor
fetch('room.actors')
fetch('the_room.actors')
end

##
Expand All @@ -27,7 +27,7 @@ def actor
#
# @faker.version next
def character
fetch('room.characters')
fetch('the_room.characters')
end

##
Expand All @@ -40,7 +40,7 @@ def character
#
# @faker.version next
def location
fetch('room.locations')
fetch('the_room.locations')
end

##
Expand All @@ -55,7 +55,7 @@ def location
#
# @faker.version next
def quote
fetch('room.quotes')
fetch('the_room.quotes')
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/locales/en/room.yml → lib/locales/en/the_room.yml
@@ -1,6 +1,6 @@
en:
faker:
room:
the_room:
actors:
- Tommy Wiseau
- Juliette Danielle
Expand Down
File renamed without changes.

0 comments on commit 3fb283e

Please sign in to comment.