Skip to content

Commit 3173009

Browse files
kirkkwangJamal-A-MohamedChava888
authored
Favor 'The Room' instead of 'Room' (#2854)
This commit will rename instances of room to the_room including the locales. Originally the `room.md` had a typo that referenced ::Room and not ::TheRoom which is also fixed here. Ref: - #2787 Co-authored-by: Jamal-A-Mohamed <[email protected]> Co-authored-by: Salvador <[email protected]>
1 parent cf71103 commit 3173009

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

doc/movies/room.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/movies/the_room.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Faker::Movies::TheRoom
2+
3+
```ruby
4+
Faker::Movies::TheRoom.actor #=> "Tommy Wiseau"
5+
6+
Faker::Movies::TheRoom.character #=> "Johnny"
7+
8+
Faker::Movies::TheRoom.location #=> "Johnny's Apartment"
9+
10+
Faker::Movies::TheRoom.quote #=> "A-ha-ha-ha! What a story, Mark!"
11+
```
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class << self
1414
#
1515
# @faker.version next
1616
def actor
17-
fetch('room.actors')
17+
fetch('the_room.actors')
1818
end
1919

2020
##
@@ -27,7 +27,7 @@ def actor
2727
#
2828
# @faker.version next
2929
def character
30-
fetch('room.characters')
30+
fetch('the_room.characters')
3131
end
3232

3333
##
@@ -40,7 +40,7 @@ def character
4040
#
4141
# @faker.version next
4242
def location
43-
fetch('room.locations')
43+
fetch('the_room.locations')
4444
end
4545

4646
##
@@ -55,7 +55,7 @@ def location
5555
#
5656
# @faker.version next
5757
def quote
58-
fetch('room.quotes')
58+
fetch('the_room.quotes')
5959
end
6060
end
6161
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
en:
22
faker:
3-
room:
3+
the_room:
44
actors:
55
- Tommy Wiseau
66
- Juliette Danielle

0 commit comments

Comments
 (0)