faker 2.2.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +131 -15
  3. data/README.md +2 -2
  4. data/lib/faker.rb +34 -0
  5. data/lib/faker/blockchain/aeternity.rb +70 -0
  6. data/lib/faker/blockchain/bitcoin.rb +26 -0
  7. data/lib/faker/blockchain/ethereum.rb +10 -0
  8. data/lib/faker/blockchain/tezos.rb +62 -6
  9. data/lib/faker/books/book.rb +36 -0
  10. data/lib/faker/books/culture_series.rb +49 -0
  11. data/lib/faker/books/dune.rb +60 -9
  12. data/lib/faker/books/lovecraft.rb +189 -33
  13. data/lib/faker/creature/animal.rb +9 -0
  14. data/lib/faker/creature/cat.rb +27 -0
  15. data/lib/faker/creature/dog.rb +72 -0
  16. data/lib/faker/creature/horse.rb +18 -0
  17. data/lib/faker/default/address.rb +10 -15
  18. data/lib/faker/default/alphanumeric.rb +29 -18
  19. data/lib/faker/default/app.rb +50 -11
  20. data/lib/faker/default/appliance.rb +18 -0
  21. data/lib/faker/default/artist.rb +9 -0
  22. data/lib/faker/default/avatar.rb +38 -19
  23. data/lib/faker/default/bank.rb +4 -6
  24. data/lib/faker/default/boolean.rb +14 -4
  25. data/lib/faker/default/chile_rut.rb +6 -14
  26. data/lib/faker/default/chuck_norris.rb +1 -1
  27. data/lib/faker/default/code.rb +7 -13
  28. data/lib/faker/default/commerce.rb +8 -17
  29. data/lib/faker/default/company.rb +4 -6
  30. data/lib/faker/default/crypto_coin.rb +6 -9
  31. data/lib/faker/default/date.rb +76 -30
  32. data/lib/faker/default/demographic.rb +2 -3
  33. data/lib/faker/default/dessert.rb +27 -0
  34. data/lib/faker/default/device.rb +54 -0
  35. data/lib/faker/default/driving_licence.rb +5 -15
  36. data/lib/faker/default/electrical_components.rb +27 -0
  37. data/lib/faker/default/file.rb +9 -26
  38. data/lib/faker/default/fillmurray.rb +4 -11
  39. data/lib/faker/default/finance.rb +2 -3
  40. data/lib/faker/default/gender.rb +18 -0
  41. data/lib/faker/default/greek_philosophers.rb +18 -0
  42. data/lib/faker/default/hacker.rb +59 -1
  43. data/lib/faker/default/hipster.rb +21 -54
  44. data/lib/faker/default/house.rb +18 -0
  45. data/lib/faker/default/id_number.rb +5 -7
  46. data/lib/faker/default/industry_segments.rb +36 -0
  47. data/lib/faker/default/internet.rb +49 -76
  48. data/lib/faker/default/invoice.rb +7 -13
  49. data/lib/faker/default/json.rb +9 -16
  50. data/lib/faker/default/lorem.rb +38 -77
  51. data/lib/faker/default/lorem_flickr.rb +17 -48
  52. data/lib/faker/default/lorem_pixel.rb +7 -23
  53. data/lib/faker/default/markdown.rb +3 -7
  54. data/lib/faker/default/marketing.rb +9 -0
  55. data/lib/faker/default/measurement.rb +16 -24
  56. data/lib/faker/default/military.rb +45 -0
  57. data/lib/faker/default/name.rb +2 -3
  58. data/lib/faker/default/nation.rb +48 -5
  59. data/lib/faker/default/nato_phonetic_alphabet.rb +9 -0
  60. data/lib/faker/default/nhs.rb +2 -3
  61. data/lib/faker/default/number.rb +150 -51
  62. data/lib/faker/default/omniauth.rb +67 -63
  63. data/lib/faker/default/phone_number.rb +2 -3
  64. data/lib/faker/default/placeholdit.rb +6 -19
  65. data/lib/faker/default/programming_language.rb +18 -0
  66. data/lib/faker/default/relationship.rb +2 -3
  67. data/lib/faker/default/restaurant.rb +54 -2
  68. data/lib/faker/default/science.rb +27 -0
  69. data/lib/faker/default/source.rb +51 -14
  70. data/lib/faker/default/string.rb +2 -3
  71. data/lib/faker/default/stripe.rb +8 -12
  72. data/lib/faker/default/subscription.rb +45 -0
  73. data/lib/faker/default/superhero.rb +45 -0
  74. data/lib/faker/default/time.rb +102 -56
  75. data/lib/faker/default/twitter.rb +23 -32
  76. data/lib/faker/default/types.rb +12 -23
  77. data/lib/faker/default/vehicle.rb +8 -14
  78. data/lib/faker/default/world_cup.rb +5 -10
  79. data/lib/faker/games/dota.rb +49 -3
  80. data/lib/faker/games/elder_scrolls.rb +72 -0
  81. data/lib/faker/games/fallout.rb +37 -0
  82. data/lib/faker/games/game.rb +27 -0
  83. data/lib/faker/games/half_life.rb +27 -0
  84. data/lib/faker/games/heroes.rb +27 -0
  85. data/lib/faker/games/heroes_of_the_storm.rb +36 -0
  86. data/lib/faker/games/league_of_legends.rb +54 -0
  87. data/lib/faker/games/myst.rb +45 -0
  88. data/lib/faker/games/overwatch.rb +27 -0
  89. data/lib/faker/games/pokemon.rb +27 -0
  90. data/lib/faker/games/sonic_the_hedgehog.rb +27 -0
  91. data/lib/faker/games/super_smash_bros.rb +18 -0
  92. data/lib/faker/games/witcher.rb +54 -0
  93. data/lib/faker/games/world_of_warcraft.rb +18 -0
  94. data/lib/faker/games/zelda.rb +37 -1
  95. data/lib/faker/japanese_media/dragon_ball.rb +9 -0
  96. data/lib/faker/japanese_media/one_piece.rb +54 -0
  97. data/lib/faker/japanese_media/sword_art_online.rb +36 -0
  98. data/lib/faker/movies/back_to_the_future.rb +28 -0
  99. data/lib/faker/movies/ghostbusters.rb +28 -0
  100. data/lib/faker/movies/harry_potter.rb +54 -0
  101. data/lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb +69 -0
  102. data/lib/faker/movies/hobbit.rb +37 -0
  103. data/lib/faker/movies/lebowski.rb +27 -0
  104. data/lib/faker/movies/lord_of_the_rings.rb +28 -0
  105. data/lib/faker/movies/movie.rb +9 -0
  106. data/lib/faker/movies/princess_bride.rb +19 -0
  107. data/lib/faker/movies/star_wars.rb +97 -6
  108. data/lib/faker/movies/v_for_vendetta.rb +29 -0
  109. data/lib/faker/music/grateful_dead.rb +18 -0
  110. data/lib/faker/music/phish.rb +9 -0
  111. data/lib/faker/music/rock_band.rb +9 -0
  112. data/lib/faker/music/umphreys_mcgee.rb +9 -0
  113. data/lib/faker/sports/basketball.rb +36 -0
  114. data/lib/faker/sports/football.rb +45 -0
  115. data/lib/faker/tv_shows/aqua_teen_hunger_force.rb +9 -0
  116. data/lib/faker/tv_shows/bojack_horseman.rb +28 -0
  117. data/lib/faker/tv_shows/breaking_bad.rb +18 -0
  118. data/lib/faker/tv_shows/buffy.rb +45 -0
  119. data/lib/faker/tv_shows/community.rb +19 -0
  120. data/lib/faker/tv_shows/dr_who.rb +78 -2
  121. data/lib/faker/tv_shows/dumb_and_dumber.rb +28 -0
  122. data/lib/faker/tv_shows/family_guy.rb +28 -0
  123. data/lib/faker/tv_shows/friends.rb +27 -0
  124. data/lib/faker/tv_shows/game_of_thrones.rb +46 -0
  125. data/lib/faker/tv_shows/hey_arnold.rb +27 -0
  126. data/lib/faker/tv_shows/how_i_met_your_mother.rb +37 -0
  127. data/lib/faker/tv_shows/michael_scott.rb +13 -0
  128. data/lib/faker/tv_shows/new_girl.rb +19 -0
  129. data/lib/faker/tv_shows/parks_and_rec.rb +18 -0
  130. data/lib/faker/tv_shows/rick_and_morty.rb +28 -0
  131. data/lib/faker/tv_shows/ru_paul.rb +18 -0
  132. data/lib/faker/tv_shows/seinfeld.rb +28 -0
  133. data/lib/faker/tv_shows/silicon_valley.rb +75 -0
  134. data/lib/faker/tv_shows/simpsons.rb +28 -0
  135. data/lib/faker/tv_shows/south_park.rb +19 -0
  136. data/lib/faker/tv_shows/star_trek.rb +36 -0
  137. data/lib/faker/tv_shows/stargate.rb +28 -0
  138. data/lib/faker/tv_shows/stranger_things.rb +19 -0
  139. data/lib/faker/tv_shows/the_expanse.rb +36 -0
  140. data/lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb +28 -0
  141. data/lib/faker/tv_shows/the_it_crowd.rb +37 -0
  142. data/lib/faker/tv_shows/the_thick_of_it.rb +28 -0
  143. data/lib/faker/tv_shows/twin_peaks.rb +28 -0
  144. data/lib/faker/tv_shows/venture_bros.rb +38 -0
  145. data/lib/faker/version.rb +1 -1
  146. data/lib/locales/en-CA.yml +1 -1
  147. data/lib/locales/en-TH.yml +360 -0
  148. data/lib/locales/en/color.yml +1 -1
  149. data/lib/locales/en/dr_who.yml +1 -1
  150. data/lib/locales/en/science.yml +1 -1
  151. data/lib/locales/ja.yml +8 -9
  152. data/lib/locales/th.yml +380 -0
  153. metadata +33 -14
@@ -4,10 +4,28 @@ module Faker
4
4
  class Games
5
5
  class WorldOfWarcraft < Base
6
6
  class << self
7
+ ##
8
+ # Produces the name of a hero from World of Warcraft.
9
+ #
10
+ # @return [String]
11
+ #
12
+ # @example
13
+ # Faker::Games::WorldOfWarcraft.hero #=> "Uther the Lightbringer"
14
+ #
15
+ # @faker.version 1.9.2
7
16
  def hero
8
17
  fetch('games.world_of_warcraft.hero')
9
18
  end
10
19
 
20
+ ##
21
+ # Produces a quote from World of Warcraft.
22
+ #
23
+ # @return [String]
24
+ #
25
+ # @example
26
+ # Faker::Games::WorldOfWarcraft.quote #=> "These are dark times indeed."
27
+ #
28
+ # @faker.version 1.9.2
11
29
  def quote
12
30
  fetch('games.world_of_warcraft.quotes')
13
31
  end
@@ -3,20 +3,56 @@
3
3
  module Faker
4
4
  class Games
5
5
  class Zelda < Base
6
- flexible :space
6
+ flexible :zelda
7
7
  class << self
8
+ ##
9
+ # Produces the name of a Legend of Zelda game.
10
+ #
11
+ # @return [String]
12
+ #
13
+ # @example
14
+ # Faker::Games::Zelda.game #=> "Breath of the Wild"
15
+ #
16
+ # @faker.version 1.7.3
8
17
  def game
9
18
  fetch('games.zelda.games')
10
19
  end
11
20
 
21
+ ##
22
+ # Produces the name of a character from the Legend of Zelda games.
23
+ #
24
+ # @return [String]
25
+ #
26
+ # @example
27
+ # Faker::Games::Zelda.character #=> "Link"
28
+ #
29
+ # @faker.version 1.7.3
12
30
  def character
13
31
  fetch('games.zelda.characters')
14
32
  end
15
33
 
34
+ ##
35
+ # Produces the name of a character from the Legend of Zelda games.
36
+ #
37
+ # @return [String]
38
+ #
39
+ # @example
40
+ # Faker::Games::Zelda.location #=> "Hyrule Castle"
41
+ #
42
+ # @faker.version 1.7.3
16
43
  def location
17
44
  fetch('games.zelda.locations')
18
45
  end
19
46
 
47
+ ##
48
+ # Produces the name of an item from the Legend of Zelda games.
49
+ #
50
+ # @return [String]
51
+ #
52
+ # @example
53
+ # Faker::Games::Zelda.item #=> "Boomerang"
54
+ #
55
+ # @faker.version 1.7.3
20
56
  def item
21
57
  fetch('games.zelda.items')
22
58
  end
@@ -4,6 +4,15 @@ module Faker
4
4
  class JapaneseMedia
5
5
  class DragonBall < Base
6
6
  class << self
7
+ ##
8
+ # Produces the name of a character from Dragon Ball.
9
+ #
10
+ # @return [String]
11
+ #
12
+ # @example
13
+ # Faker::Games::DragonBall.character #=> "Goku"
14
+ #
15
+ # @faker.version 1.8.0
7
16
  def character
8
17
  fetch('dragon_ball.characters')
9
18
  end
@@ -4,26 +4,80 @@ module Faker
4
4
  class JapaneseMedia
5
5
  class OnePiece < Base
6
6
  class << self
7
+ ##
8
+ # Produces a character from One Piece.
9
+ #
10
+ # @return [String]
11
+ #
12
+ # @example
13
+ # Faker::JapaneseMedia::OnePiece.character #=> "Monkey D. Luffy"
14
+ #
15
+ # @faker.version 1.8.5
7
16
  def character
8
17
  fetch('one_piece.characters')
9
18
  end
10
19
 
20
+ ##
21
+ # Produces a sea from One Piece.
22
+ #
23
+ # @return [String]
24
+ #
25
+ # @example
26
+ # Faker::JapaneseMedia::OnePiece.sea #=> "East Blue"
27
+ #
28
+ # @faker.version 1.8.5
11
29
  def sea
12
30
  fetch('one_piece.seas')
13
31
  end
14
32
 
33
+ ##
34
+ # Produces an island from One Piece.
35
+ #
36
+ # @return [String]
37
+ #
38
+ # @example
39
+ # Faker::JapaneseMedia::OnePiece.island #=> "Laftel"
40
+ #
41
+ # @faker.version 1.8.5
15
42
  def island
16
43
  fetch('one_piece.islands')
17
44
  end
18
45
 
46
+ ##
47
+ # Produces a location from One Piece.
48
+ #
49
+ # @return [String]
50
+ #
51
+ # @example
52
+ # Faker::JapaneseMedia::OnePiece.location #=> "Foosha Village"
53
+ #
54
+ # @faker.version 1.8.5
19
55
  def location
20
56
  fetch('one_piece.locations')
21
57
  end
22
58
 
59
+ ##
60
+ # Produces a quote from One Piece.
61
+ #
62
+ # @return [String]
63
+ #
64
+ # @example
65
+ # Faker::JapaneseMedia::OnePiece.quote #=> "ONE PIECE IS REAL!"
66
+ #
67
+ # @faker.version 1.8.5
23
68
  def quote
24
69
  fetch('one_piece.quotes')
25
70
  end
26
71
 
72
+ ##
73
+ # Produces an akuma no mi from One Piece.
74
+ #
75
+ # @return [String]
76
+ #
77
+ # @example
78
+ # Faker::JapaneseMedia::OnePiece.akuma_no_mi #=> "Gomu Gomu no Mi"
79
+ #
80
+ # @faker.version 1.8.5
27
81
  def akuma_no_mi
28
82
  fetch('one_piece.akumas_no_mi')
29
83
  end
@@ -4,18 +4,54 @@ module Faker
4
4
  class JapaneseMedia
5
5
  class SwordArtOnline < Base
6
6
  class << self
7
+ ##
8
+ # Produces the real name of a character from Sword Art Online.
9
+ #
10
+ # @return [String]
11
+ #
12
+ # @example
13
+ # Faker::JapaneseMedia::SwordArtOnline.real_name #=> "Kirigaya Kazuto"
14
+ #
15
+ # @faker.version 1.9.0
7
16
  def real_name
8
17
  fetch('sword_art_online.real_name')
9
18
  end
10
19
 
20
+ ##
21
+ # Produces the in-game name of a character from Sword Art Online.
22
+ #
23
+ # @return [String]
24
+ #
25
+ # @example
26
+ # Faker::JapaneseMedia::SwordArtOnline.game_name #=> "Silica"
27
+ #
28
+ # @faker.version 1.9.0
11
29
  def game_name
12
30
  fetch('sword_art_online.game_name')
13
31
  end
14
32
 
33
+ ##
34
+ # Produces the name of a location from Sword Art Online.
35
+ #
36
+ # @return [String]
37
+ #
38
+ # @example
39
+ # Faker::JapaneseMedia::SwordArtOnline.location #=> "Ruby Palace"
40
+ #
41
+ # @faker.version 1.9.0
15
42
  def location
16
43
  fetch('sword_art_online.location')
17
44
  end
18
45
 
46
+ ##
47
+ # Produces the name of an item from Sword Art Online.
48
+ #
49
+ # @return [String]
50
+ #
51
+ # @example
52
+ # Faker::JapaneseMedia::SwordArtOnline.item #=> "Blackwyrm Coat"
53
+ #
54
+ # @faker.version 1.9.0
19
55
  def item
20
56
  fetch('sword_art_online.item')
21
57
  end
@@ -4,14 +4,42 @@ module Faker
4
4
  class Movies
5
5
  class BackToTheFuture < Base
6
6
  class << self
7
+ ##
8
+ # Produces a character from Back to the Future.
9
+ #
10
+ # @return [String]
11
+ #
12
+ # @example
13
+ # Faker::Movies::BackToTheFuture.character #=> "Marty McFly"
14
+ #
15
+ # @faker.version 1.8.5
7
16
  def character
8
17
  fetch('back_to_the_future.characters')
9
18
  end
10
19
 
20
+ ##
21
+ # Produces a date from Back to the Future.
22
+ #
23
+ # @return [String]
24
+ #
25
+ # @example
26
+ # Faker::Movies::BackToTheFuture.date #=> "November 5, 1955"
27
+ #
28
+ # @faker.version 1.8.5
11
29
  def date
12
30
  fetch('back_to_the_future.dates')
13
31
  end
14
32
 
33
+ ##
34
+ # Produces a quote from Back to the Future.
35
+ #
36
+ # @return [String]
37
+ #
38
+ # @example
39
+ # Faker::Movies::BackToTheFuture.quote
40
+ # #=> "Roads? Where we're going, we don't need roads."
41
+ #
42
+ # @faker.version 1.8.5
15
43
  def quote
16
44
  fetch('back_to_the_future.quotes')
17
45
  end
@@ -4,14 +4,42 @@ module Faker
4
4
  class Movies
5
5
  class Ghostbusters < Base
6
6
  class << self
7
+ ##
8
+ # Produces an actor from Ghostbusters.
9
+ #
10
+ # @return [String]
11
+ #
12
+ # @example
13
+ # Faker::Movies::Ghostbusters.actor #=> "Bill Murray"
14
+ #
15
+ # @faker.version 1.9.2
7
16
  def actor
8
17
  fetch('ghostbusters.actors')
9
18
  end
10
19
 
20
+ ##
21
+ # Produces a character from Ghostbusters.
22
+ #
23
+ # @return [String]
24
+ #
25
+ # @example
26
+ # Faker::Movies::Ghostbusters.character #=> "Dr. Egon Spengler"
27
+ #
28
+ # @faker.version 1.9.2
11
29
  def character
12
30
  fetch('ghostbusters.characters')
13
31
  end
14
32
 
33
+ ##
34
+ # Produces a quote from Ghostbusters.
35
+ #
36
+ # @return [String]
37
+ #
38
+ # @example
39
+ # Faker::Movies::Ghostbusters.quote
40
+ # #=> "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!"
41
+ #
42
+ # @faker.version 1.9.2
15
43
  def quote
16
44
  fetch('ghostbusters.quotes')
17
45
  end
@@ -4,26 +4,80 @@ module Faker
4
4
  class Movies
5
5
  class HarryPotter < Base
6
6
  class << self
7
+ ##
8
+ # Produces a character from Harry Potter.
9
+ #
10
+ # @return [String]
11
+ #
12
+ # @example
13
+ # Faker::Movies::HarryPotter.character #=> "Harry Potter"
14
+ #
15
+ # @faker.version 1.7.3
7
16
  def character
8
17
  fetch('harry_potter.characters')
9
18
  end
10
19
 
20
+ ##
21
+ # Produces a location from Harry Potter.
22
+ #
23
+ # @return [String]
24
+ #
25
+ # @example
26
+ # Faker::Movies::HarryPotter.location #=> "Hogwarts"
27
+ #
28
+ # @faker.version 1.7.3
11
29
  def location
12
30
  fetch('harry_potter.locations')
13
31
  end
14
32
 
33
+ ##
34
+ # Produces a quote from Harry Potter.
35
+ #
36
+ # @return [String]
37
+ #
38
+ # @example
39
+ # Faker::Movies::HarryPotter.quote #=> "I solemnly swear that I am up to good."
40
+ #
41
+ # @faker.version 1.7.3
15
42
  def quote
16
43
  fetch('harry_potter.quotes')
17
44
  end
18
45
 
46
+ ##
47
+ # Produces a book from Harry Potter.
48
+ #
49
+ # @return [String]
50
+ #
51
+ # @example
52
+ # Faker::Movies::HarryPotter.book #=> "Harry Potter and the Chamber of Secrets"
53
+ #
54
+ # @faker.version 1.7.3
19
55
  def book
20
56
  fetch('harry_potter.books')
21
57
  end
22
58
 
59
+ ##
60
+ # Produces a house from Harry Potter.
61
+ #
62
+ # @return [String]
63
+ #
64
+ # @example
65
+ # Faker::Movies::HarryPotter.house #=> "Gryffindor"
66
+ #
67
+ # @faker.version 1.7.3
23
68
  def house
24
69
  fetch('harry_potter.houses')
25
70
  end
26
71
 
72
+ ##
73
+ # Produces a spell from Harry Potter.
74
+ #
75
+ # @return [String]
76
+ #
77
+ # @example
78
+ # Faker::Movies::HarryPotter.spell #=> "Reparo"
79
+ #
80
+ # @faker.version 1.7.3
27
81
  def spell
28
82
  fetch('harry_potter.spells')
29
83
  end
@@ -4,30 +4,99 @@ module Faker
4
4
  class Movies
5
5
  class HitchhikersGuideToTheGalaxy < Base
6
6
  class << self
7
+ ##
8
+ # Produces a character from The Hitchhiker's Guide to the Galaxy.
9
+ #
10
+ # @return [String]
11
+ #
12
+ # @example
13
+ # Faker::Movies::HitchhikersGuideToTheGalaxy.character #=> "Marvin"
14
+ #
15
+ # @faker.version 1.8.0
7
16
  def character
8
17
  fetch('hitchhikers_guide_to_the_galaxy.characters')
9
18
  end
10
19
 
20
+ ##
21
+ # Produces a location from The Hitchhiker's Guide to the Galaxy.
22
+ #
23
+ # @return [String]
24
+ #
25
+ # @example
26
+ # Faker::Movies::HitchhikersGuideToTheGalaxy.location
27
+ # #=> "Arthur Dent's house"
28
+ #
29
+ # @faker.version 1.8.0
11
30
  def location
12
31
  fetch('hitchhikers_guide_to_the_galaxy.locations')
13
32
  end
14
33
 
34
+ ##
35
+ # Produces a Marvin quote from The Hitchhiker's Guide to the Galaxy.
36
+ #
37
+ # @return [String]
38
+ #
39
+ # @example
40
+ # Faker::Movies::HitchhikersGuideToTheGalaxy.marvin_quote
41
+ # #=> "Life? Don't talk to me about life."
42
+ #
43
+ # @faker.version 1.8.0
15
44
  def marvin_quote
16
45
  fetch('hitchhikers_guide_to_the_galaxy.marvin_quote')
17
46
  end
18
47
 
48
+ ##
49
+ # Produces a planet from The Hitchhiker's Guide to the Galaxy.
50
+ #
51
+ # @return [String]
52
+ #
53
+ # @example
54
+ # Faker::Movies::HitchhikersGuideToTheGalaxy.planet
55
+ # #=> "Magrathea"
56
+ #
57
+ # @faker.version 1.8.0
19
58
  def planet
20
59
  fetch('hitchhikers_guide_to_the_galaxy.planets')
21
60
  end
22
61
 
62
+ ##
63
+ # Produces a quote from The Hitchhiker's Guide to the Galaxy.
64
+ #
65
+ # @return [String]
66
+ #
67
+ # @example
68
+ # Faker::Movies::HitchhikersGuideToTheGalaxy.quote
69
+ # #=> "In the beginning, the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
70
+ #
71
+ # @faker.version 1.8.0
23
72
  def quote
24
73
  fetch('hitchhikers_guide_to_the_galaxy.quotes')
25
74
  end
26
75
 
76
+ ##
77
+ # Produces a species from The Hitchhiker's Guide to the Galaxy.
78
+ #
79
+ # @return [String]
80
+ #
81
+ # @example
82
+ # Faker::Movies::HitchhikersGuideToTheGalaxy.specie
83
+ # #=> "Perfectly Normal Beast"
84
+ #
85
+ # @faker.version 1.8.0
27
86
  def specie
28
87
  fetch('hitchhikers_guide_to_the_galaxy.species')
29
88
  end
30
89
 
90
+ ##
91
+ # Produces a starship from The Hitchhiker's Guide to the Galaxy.
92
+ #
93
+ # @return [String]
94
+ #
95
+ # @example
96
+ # Faker::Movies::HitchhikersGuideToTheGalaxy.starship
97
+ # #=> "Vogon Constructor Fleet"
98
+ #
99
+ # @faker.version 1.8.0
31
100
  def starship
32
101
  fetch('hitchhikers_guide_to_the_galaxy.starships')
33
102
  end