Repository navigation
Expand file tree
/
Copy pathroom.rb
More file actions
63 lines (59 loc) · 1.34 KB
/
Copy pathroom.rb
File metadata and controls
63 lines (59 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# frozen_string_literal: true
module Faker
class Movies
class TheRoom < Base
class << self
##
# Produces an actor from The Room (2003).
#
# @return [String]
#
# @example
# Faker::Movies::Room.actor #=> "Tommy Wiseau"
#
# @faker.version next
def actor
fetch('room.actors')
end
##
# Produces a character from The Room (2003).
#
# @return [String]
#
# @example
# Faker::Movies::Room.character #=> "Johnny"
#
# @faker.version next
def character
fetch('room.characters')
end
##
# Produces a location from The Room (2003).
#
# @return [String]
#
# @example
# Faker::Movies::Room.location #=> "Johnny's Apartment"
#
# @faker.version next
def location
fetch('room.locations')
end
##
##
# Produces a quote from The Room (2003).
#
# @return [String]
#
# @example
# Faker::Movies::Room.quote
# #=> "You're lying, I never hit you. You are tearing me apart, Lisa!"
#
# @faker.version next
def quote
fetch('room.quotes')
end
end
end
end
end