Repository navigation
Expand file tree
/
Copy pathmyst.rb
More file actions
74 lines (69 loc) · 1.63 KB
/
Copy pathmyst.rb
File metadata and controls
74 lines (69 loc) · 1.63 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
64
65
66
67
68
69
70
71
72
73
74
# frozen_string_literal: true
module Faker
class Games
class Myst < Base
class << self
##
# Produces the name of a game from the Myst series.
#
# @return [String]
#
# @example
# Faker::Games::Myst.game #=> "Myst III: Exile"
#
# @faker.version 1.9.0
def game
fetch('games.myst.games')
end
##
# Produces the name of a creature from Myst.
#
# @return [String]
#
# @example
# Faker::Games::Myst.creature #=> "squee"
#
# @faker.version 1.9.0
def creature
fetch('games.myst.creatures')
end
##
# Produces the name of an age from Myst.
#
# @return [String]
#
# @example
# Faker::Games::Myst.age #=> "Relto"
#
# @faker.version 1.9.0
def age
fetch('games.myst.ages')
end
##
# Produces the name of a chracter from Myst.
#
# @return [String]
#
# @example
# Faker::Games::Myst.character #=> "Gehn"
#
# @faker.version 1.9.0
def character
fetch('games.myst.characters')
end
##
# Produces a quote from Myst.
#
# @return [String]
#
# @example
# Faker::Games::Myst.quote #=> "I realized, the moment I fell into the fissure, that the Book would not be destroyed as I had planned."
#
# @faker.version 1.9.0
def quote
fetch('games.myst.quotes')
end
end
end
end
end