forked from faker-ruby/faker
/
ghostbusters.rb
49 lines (46 loc) · 1.18 KB
/
ghostbusters.rb
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
# frozen_string_literal: true
module Faker
class Movies
class Ghostbusters < Base
class << self
##
# Produces an actor from Ghostbusters.
#
# @return [String]
#
# @example
# Faker::Movies::Ghostbusters.actor #=> "Bill Murray"
#
# @faker.version 1.9.2
def actor
fetch('ghostbusters.actors')
end
##
# Produces a character from Ghostbusters.
#
# @return [String]
#
# @example
# Faker::Movies::Ghostbusters.character #=> "Dr. Egon Spengler"
#
# @faker.version 1.9.2
def character
fetch('ghostbusters.characters')
end
##
# Produces a quote from Ghostbusters.
#
# @return [String]
#
# @example
# Faker::Movies::Ghostbusters.quote
# #=> "I tried to think of the most harmless thing. Something I loved from my childhood. Something that could never ever possibly destroy us. Mr. Stay Puft!"
#
# @faker.version 1.9.2
def quote
fetch('ghostbusters.quotes')
end
end
end
end
end