faker 1.9.6 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +386 -6
  3. data/README.md +12 -5
  4. data/lib/faker.rb +56 -1
  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 +66 -5
  12. data/lib/faker/books/lovecraft.rb +221 -18
  13. data/lib/faker/creature/animal.rb +10 -1
  14. data/lib/faker/creature/cat.rb +28 -1
  15. data/lib/faker/creature/dog.rb +73 -1
  16. data/lib/faker/creature/horse.rb +19 -1
  17. data/lib/faker/default/address.rb +25 -5
  18. data/lib/faker/default/alphanumeric.rb +58 -9
  19. data/lib/faker/default/app.rb +55 -1
  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 +43 -1
  23. data/lib/faker/default/bank.rb +10 -2
  24. data/lib/faker/default/boolean.rb +16 -1
  25. data/lib/faker/default/cannabis.rb +4 -0
  26. data/lib/faker/default/chile_rut.rb +13 -3
  27. data/lib/faker/default/chuck_norris.rb +1 -1
  28. data/lib/faker/default/code.rb +18 -5
  29. data/lib/faker/default/commerce.rb +18 -4
  30. data/lib/faker/default/company.rb +11 -3
  31. data/lib/faker/default/crypto_coin.rb +21 -4
  32. data/lib/faker/default/date.rb +122 -9
  33. data/lib/faker/default/demographic.rb +5 -1
  34. data/lib/faker/default/dessert.rb +27 -0
  35. data/lib/faker/default/device.rb +56 -2
  36. data/lib/faker/default/driving_licence.rb +13 -7
  37. data/lib/faker/default/educator.rb +0 -3
  38. data/lib/faker/default/electrical_components.rb +27 -0
  39. data/lib/faker/default/file.rb +20 -3
  40. data/lib/faker/default/fillmurray.rb +10 -2
  41. data/lib/faker/default/finance.rb +5 -1
  42. data/lib/faker/default/gender.rb +18 -0
  43. data/lib/faker/default/greek_philosophers.rb +18 -0
  44. data/lib/faker/default/hacker.rb +59 -1
  45. data/lib/faker/default/hipster.rb +55 -16
  46. data/lib/faker/default/house.rb +18 -0
  47. data/lib/faker/default/id_number.rb +85 -11
  48. data/lib/faker/default/industry_segments.rb +36 -0
  49. data/lib/faker/default/internet.rb +107 -22
  50. data/lib/faker/default/invoice.rb +16 -3
  51. data/lib/faker/default/json.rb +19 -2
  52. data/lib/faker/default/lorem.rb +91 -20
  53. data/lib/faker/default/lorem_flickr.rb +38 -5
  54. data/lib/faker/default/lorem_pixel.rb +10 -1
  55. data/lib/faker/default/markdown.rb +12 -7
  56. data/lib/faker/default/marketing.rb +9 -0
  57. data/lib/faker/default/measurement.rb +40 -8
  58. data/lib/faker/default/military.rb +45 -0
  59. data/lib/faker/default/name.rb +6 -4
  60. data/lib/faker/default/nation.rb +48 -5
  61. data/lib/faker/default/nato_phonetic_alphabet.rb +9 -0
  62. data/lib/faker/default/nhs.rb +11 -7
  63. data/lib/faker/default/number.rb +202 -30
  64. data/lib/faker/default/omniauth.rb +98 -15
  65. data/lib/faker/default/phone_number.rb +5 -1
  66. data/lib/faker/default/placeholdit.rb +11 -1
  67. data/lib/faker/default/programming_language.rb +18 -0
  68. data/lib/faker/default/relationship.rb +5 -1
  69. data/lib/faker/default/restaurant.rb +54 -2
  70. data/lib/faker/default/science.rb +27 -0
  71. data/lib/faker/default/source.rb +59 -3
  72. data/lib/faker/default/south_africa.rb +1 -1
  73. data/lib/faker/default/space.rb +2 -2
  74. data/lib/faker/default/string.rb +5 -1
  75. data/lib/faker/default/stripe.rb +20 -4
  76. data/lib/faker/default/subscription.rb +45 -0
  77. data/lib/faker/default/superhero.rb +45 -0
  78. data/lib/faker/default/time.rb +133 -8
  79. data/lib/faker/default/twitter.rb +62 -48
  80. data/lib/faker/default/types.rb +29 -7
  81. data/lib/faker/default/vehicle.rb +19 -6
  82. data/lib/faker/default/world_cup.rb +61 -2
  83. data/lib/faker/games/dota.rb +53 -2
  84. data/lib/faker/games/elder_scrolls.rb +73 -1
  85. data/lib/faker/games/fallout.rb +38 -1
  86. data/lib/faker/games/game.rb +27 -0
  87. data/lib/faker/games/half_life.rb +28 -1
  88. data/lib/faker/games/heroes.rb +28 -1
  89. data/lib/faker/games/heroes_of_the_storm.rb +37 -1
  90. data/lib/faker/games/league_of_legends.rb +55 -1
  91. data/lib/faker/games/myst.rb +46 -1
  92. data/lib/faker/games/overwatch.rb +28 -1
  93. data/lib/faker/games/pokemon.rb +28 -1
  94. data/lib/faker/games/sonic_the_hedgehog.rb +28 -1
  95. data/lib/faker/games/super_smash_bros.rb +19 -1
  96. data/lib/faker/games/witcher.rb +55 -1
  97. data/lib/faker/games/world_of_warcraft.rb +19 -1
  98. data/lib/faker/games/zelda.rb +38 -2
  99. data/lib/faker/japanese_media/dragon_ball.rb +10 -1
  100. data/lib/faker/japanese_media/one_piece.rb +55 -1
  101. data/lib/faker/japanese_media/sword_art_online.rb +37 -1
  102. data/lib/faker/movies/back_to_the_future.rb +29 -1
  103. data/lib/faker/movies/ghostbusters.rb +29 -1
  104. data/lib/faker/movies/harry_potter.rb +55 -1
  105. data/lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb +70 -1
  106. data/lib/faker/movies/hobbit.rb +38 -1
  107. data/lib/faker/movies/lebowski.rb +28 -1
  108. data/lib/faker/movies/lord_of_the_rings.rb +29 -1
  109. data/lib/faker/movies/movie.rb +9 -0
  110. data/lib/faker/movies/princess_bride.rb +20 -1
  111. data/lib/faker/movies/star_wars.rb +101 -5
  112. data/lib/faker/movies/v_for_vendetta.rb +30 -1
  113. data/lib/faker/music/grateful_dead.rb +18 -0
  114. data/lib/faker/music/phish.rb +9 -0
  115. data/lib/faker/music/rock_band.rb +9 -0
  116. data/lib/faker/music/umphreys_mcgee.rb +9 -0
  117. data/lib/faker/sports/basketball.rb +36 -0
  118. data/lib/faker/sports/football.rb +45 -0
  119. data/lib/faker/tv_shows/aqua_teen_hunger_force.rb +10 -1
  120. data/lib/faker/tv_shows/bojack_horseman.rb +29 -1
  121. data/lib/faker/tv_shows/breaking_bad.rb +19 -1
  122. data/lib/faker/tv_shows/buffy.rb +46 -1
  123. data/lib/faker/tv_shows/community.rb +20 -1
  124. data/lib/faker/tv_shows/dr_who.rb +79 -3
  125. data/lib/faker/tv_shows/dumb_and_dumber.rb +29 -1
  126. data/lib/faker/tv_shows/family_guy.rb +29 -1
  127. data/lib/faker/tv_shows/friends.rb +28 -1
  128. data/lib/faker/tv_shows/game_of_thrones.rb +47 -1
  129. data/lib/faker/tv_shows/hey_arnold.rb +28 -1
  130. data/lib/faker/tv_shows/how_i_met_your_mother.rb +38 -1
  131. data/lib/faker/tv_shows/michael_scott.rb +14 -1
  132. data/lib/faker/tv_shows/new_girl.rb +20 -1
  133. data/lib/faker/tv_shows/parks_and_rec.rb +19 -1
  134. data/lib/faker/tv_shows/rick_and_morty.rb +29 -1
  135. data/lib/faker/tv_shows/ru_paul.rb +19 -1
  136. data/lib/faker/tv_shows/seinfeld.rb +29 -1
  137. data/lib/faker/tv_shows/silicon_valley.rb +76 -1
  138. data/lib/faker/tv_shows/simpsons.rb +29 -1
  139. data/lib/faker/tv_shows/south_park.rb +20 -1
  140. data/lib/faker/tv_shows/star_trek.rb +37 -1
  141. data/lib/faker/tv_shows/stargate.rb +29 -1
  142. data/lib/faker/tv_shows/stranger_things.rb +20 -1
  143. data/lib/faker/tv_shows/the_expanse.rb +37 -1
  144. data/lib/faker/tv_shows/the_fresh_prince_of_bel_air.rb +29 -1
  145. data/lib/faker/tv_shows/the_it_crowd.rb +38 -1
  146. data/lib/faker/tv_shows/the_thick_of_it.rb +29 -1
  147. data/lib/faker/tv_shows/twin_peaks.rb +29 -1
  148. data/lib/faker/tv_shows/venture_bros.rb +39 -1
  149. data/lib/faker/version.rb +1 -1
  150. data/lib/locales/en-CA.yml +2 -1
  151. data/lib/locales/en-IND.yml +1 -1
  152. data/lib/locales/en-TH.yml +360 -0
  153. data/lib/locales/en.yml +4 -1
  154. data/lib/locales/en/address.yml +1 -4
  155. data/lib/locales/en/animal.yml +2 -2
  156. data/lib/locales/en/cannabis.yml +1 -0
  157. data/lib/locales/en/color.yml +1 -1
  158. data/lib/locales/en/dr_who.yml +1 -1
  159. data/lib/locales/en/science.yml +1 -1
  160. data/lib/locales/en/space.yml +1 -1
  161. data/lib/locales/en/super_smash_bros.yml +5 -0
  162. data/lib/locales/fr-CA.yml +1 -1
  163. data/lib/locales/ja.yml +12 -9
  164. data/lib/locales/th.yml +380 -0
  165. data/lib/locales/vi.yml +1 -1
  166. metadata +44 -27
  167. data/lib/faker/default/creature.rb +0 -6
  168. data/lib/faker/default/games.rb +0 -6
  169. data/lib/faker/default/japanese_media.rb +0 -6
  170. data/lib/faker/default/movies.rb +0 -6
  171. data/lib/faker/default/tv_shows.rb +0 -6
  172. data/lib/faker/deprecate/unreleased/football.rb +0 -35
  173. data/lib/faker/deprecate/unreleased/movies/grateful_dead.rb +0 -22
@@ -1,19 +1,47 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class DumbAndDumber < Base
6
6
  flexible :dumb_and_dumber
7
7
 
8
8
  class << self
9
+ ##
10
+ # Produces an actor from Dumb and Dumber.
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::DumbAndDumber.actor #=> "Jim Carrey"
16
+ #
17
+ # @faker.version 1.8.5
9
18
  def actor
10
19
  fetch('dumb_and_dumber.actors')
11
20
  end
12
21
 
22
+ ##
23
+ # Produces a character from Dumb and Dumber.
24
+ #
25
+ # @return [String]
26
+ #
27
+ # @example
28
+ # Faker::TvShows::DumbAndDumber.character #=> "Harry Dunne"
29
+ #
30
+ # @faker.version 1.8.5
13
31
  def character
14
32
  fetch('dumb_and_dumber.characters')
15
33
  end
16
34
 
35
+ ##
36
+ # Produces a quote from Dumb and Dumber.
37
+ #
38
+ # @return [String]
39
+ #
40
+ # @example
41
+ # Faker::TvShows::DumbAndDumber.quote
42
+ # #=> "Why you going to the airport? Flying somewhere?"
43
+ #
44
+ # @faker.version 1.8.5
17
45
  def quote
18
46
  fetch('dumb_and_dumber.quotes')
19
47
  end
@@ -1,19 +1,47 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class FamilyGuy < Base
6
6
  flexible :family_guy
7
7
 
8
8
  class << self
9
+ ##
10
+ # Produces a character from Family Guy.
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::FamilyGuy.character #=> "Peter Griffin"
16
+ #
17
+ # @faker.version 1.8.0
9
18
  def character
10
19
  fetch('family_guy.character')
11
20
  end
12
21
 
22
+ ##
23
+ # Produces a location from Family Guy.
24
+ #
25
+ # @return [String]
26
+ #
27
+ # @example
28
+ # Faker::TvShows::FamilyGuy.location #=> "James Woods High"
29
+ #
30
+ # @faker.version 1.8.0
13
31
  def location
14
32
  fetch('family_guy.location')
15
33
  end
16
34
 
35
+ ##
36
+ # Produces a quote from Family Guy.
37
+ #
38
+ # @return [String]
39
+ #
40
+ # @example
41
+ # Faker::TvShows::FamilyGuy.quote
42
+ # #=> "It's Peanut Butter Jelly Time."
43
+ #
44
+ # @faker.version 1.8.0
17
45
  def quote
18
46
  fetch('family_guy.quote')
19
47
  end
@@ -1,19 +1,46 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class Friends < Base
6
6
  flexible :friends
7
7
 
8
8
  class << self
9
+ ##
10
+ # Produces a character from Friends.
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::Friends.character #=> "Rachel Green"
16
+ #
17
+ # @faker.version 1.7.3
9
18
  def character
10
19
  fetch('friends.characters')
11
20
  end
12
21
 
22
+ ##
23
+ # Produces a location from Friends.
24
+ #
25
+ # @return [String]
26
+ #
27
+ # @example
28
+ # Faker::TvShows::Friends.location #=> "Central Perk"
29
+ #
30
+ # @faker.version 1.7.3
13
31
  def location
14
32
  fetch('friends.locations')
15
33
  end
16
34
 
35
+ ##
36
+ # Produces a quote from Friends.
37
+ #
38
+ # @return [String]
39
+ #
40
+ # @example
41
+ # Faker::TvShows::Friends.quote #=> "We were on a break!"
42
+ #
43
+ # @faker.version 1.7.3
17
44
  def quote
18
45
  fetch('friends.quotes')
19
46
  end
@@ -1,27 +1,73 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class GameOfThrones < Base
6
6
  flexible :game_of_thrones
7
7
 
8
8
  class << self
9
+ ##
10
+ # Produces a character from Game of Thrones.
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::GameOfThrones.character #=> "Tyrion Lannister"
16
+ #
17
+ # @faker.version 1.6.6
9
18
  def character
10
19
  fetch('game_of_thrones.characters')
11
20
  end
12
21
 
22
+ ##
23
+ # Produces a house from Game of Thrones.
24
+ #
25
+ # @return [String]
26
+ #
27
+ # @example
28
+ # Faker::TvShows::GameOfThrones.house #=> "Stark"
29
+ #
30
+ # @faker.version 1.6.6
13
31
  def house
14
32
  fetch('game_of_thrones.houses')
15
33
  end
16
34
 
35
+ ##
36
+ # Produces a city from Game of Thrones.
37
+ #
38
+ # @return [String]
39
+ #
40
+ # @example
41
+ # Faker::TvShows::GameOfThrones.city #=> "Lannisport"
42
+ #
43
+ # @faker.version 1.6.6
17
44
  def city
18
45
  fetch('game_of_thrones.cities')
19
46
  end
20
47
 
48
+ ##
49
+ # Produces a quote from Game of Thrones.
50
+ #
51
+ # @return [String]
52
+ #
53
+ # @example
54
+ # Faker::TvShows::GameOfThrones.quote
55
+ # #=> "Never forget who you are. The rest of the world won't. Wear it like an armor and it can never be used against you."
56
+ #
57
+ # @faker.version 1.6.6
21
58
  def quote
22
59
  fetch('game_of_thrones.quotes')
23
60
  end
24
61
 
62
+ ##
63
+ # Produces a dragon from Game of Thrones.
64
+ #
65
+ # @return [String]
66
+ #
67
+ # @example
68
+ # Faker::TvShows::GameOfThrones.dragon #=> "Drogon"
69
+ #
70
+ # @faker.version 1.6.6
25
71
  def dragon
26
72
  fetch('game_of_thrones.dragons')
27
73
  end
@@ -1,19 +1,46 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class HeyArnold < Base
6
6
  flexible :hey_arnold
7
7
 
8
8
  class << self
9
+ ##
10
+ # Produces a character from Hey Arnold!
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::HeyArnold.character #=> "Arnold"
16
+ #
17
+ # @faker.version 1.8.0
9
18
  def character
10
19
  fetch('hey_arnold.characters')
11
20
  end
12
21
 
22
+ ##
23
+ # Produces a location from Hey Arnold!
24
+ #
25
+ # @return [String]
26
+ #
27
+ # @example
28
+ # Faker::TvShows::HeyArnold.location #=> "Big Bob's Beeper Emporium"
29
+ #
30
+ # @faker.version 1.8.0
13
31
  def location
14
32
  fetch('hey_arnold.locations')
15
33
  end
16
34
 
35
+ ##
36
+ # Produces a quote from Hey Arnold!
37
+ #
38
+ # @return [String]
39
+ #
40
+ # @example
41
+ # Faker::TvShows::HeyArnold.quote #=> "Stoop Kid's afraid to leave his stoop!"
42
+ #
43
+ # @faker.version 1.8.0
17
44
  def quote
18
45
  fetch('hey_arnold.quotes')
19
46
  end
@@ -1,23 +1,60 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class HowIMetYourMother < Base
6
6
  flexible :how_i_met_your_mother
7
7
 
8
8
  class << self
9
+ ##
10
+ # Produces a character from How I Met Your Mother.
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::HowIMetYourMother.character #=> "Barney Stinson"
16
+ #
17
+ # @faker.version 1.8.0
9
18
  def character
10
19
  fetch('how_i_met_your_mother.character')
11
20
  end
12
21
 
22
+ ##
23
+ # Produces a catch phrase from How I Met Your Mother.
24
+ #
25
+ # @return [String]
26
+ #
27
+ # @example
28
+ # Faker::TvShows::HowIMetYourMother.catch_phrase #=> "Legendary"
29
+ #
30
+ # @faker.version 1.8.0
13
31
  def catch_phrase
14
32
  fetch('how_i_met_your_mother.catch_phrase')
15
33
  end
16
34
 
35
+ ##
36
+ # Produces a high five from How I Met Your Mother.
37
+ #
38
+ # @return [String]
39
+ #
40
+ # @example
41
+ # Faker::TvShows::HowIMetYourMother.high_five #=> "Relapse Five"
42
+ #
43
+ # @faker.version 1.8.0
17
44
  def high_five
18
45
  fetch('how_i_met_your_mother.high_five')
19
46
  end
20
47
 
48
+ ##
49
+ # Produces a quote from How I Met Your Mother.
50
+ #
51
+ # @return [String]
52
+ #
53
+ # @example
54
+ # Faker::TvShows::HowIMetYourMother.quote
55
+ # #=> "Whenever I'm sad, I stop being sad and be awesome instead."
56
+ #
57
+ # @faker.version 1.8.0
21
58
  def quote
22
59
  fetch('how_i_met_your_mother.quote')
23
60
  end
@@ -1,12 +1,25 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class MichaelScott < Base
6
6
  class << self
7
+ # rubocop:disable Style/AsciiComments
8
+
9
+ ##
10
+ # Produces a quote from Michael Scott.
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::MichaelScott.quote
16
+ # #=> "I am Beyoncé, always."
17
+ #
18
+ # @faker.version 1.9.0
7
19
  def quote
8
20
  fetch('michael_scott.quotes')
9
21
  end
22
+ # rubocop:enable Style/AsciiComments
10
23
  end
11
24
  end
12
25
  end
@@ -1,15 +1,34 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class NewGirl < Base
6
6
  flexible :new_girl
7
7
 
8
8
  class << self
9
+ ##
10
+ # Produces a character from New Girl.
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::NewGirl.character #=> "Jessica Day"
16
+ #
17
+ # @faker.version 1.9.0
9
18
  def character
10
19
  fetch('new_girl.characters')
11
20
  end
12
21
 
22
+ ##
23
+ # Produces a quote from New Girl.
24
+ #
25
+ # @return [String]
26
+ #
27
+ # @example
28
+ # Faker::TvShows::NewGirl.quote
29
+ # #=> "Are you cooking a frittata in a sauce pan? What is this - prison?"
30
+ #
31
+ # @faker.version 1.9.0
13
32
  def quote
14
33
  fetch('new_girl.quotes')
15
34
  end
@@ -1,15 +1,33 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class ParksAndRec < Base
6
6
  flexible :parks_and_rec
7
7
 
8
8
  class << self
9
+ ##
10
+ # Produces a character from Parks and Recreation.
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::ParksAndRec.character #=> "Leslie Knope"
16
+ #
17
+ # @faker.version 1.9.0
9
18
  def character
10
19
  fetch('parks_and_rec.characters')
11
20
  end
12
21
 
22
+ ##
23
+ # Produces a city from Parks and Recreation.
24
+ #
25
+ # @return [String]
26
+ #
27
+ # @example
28
+ # Faker::TvShows::ParksAndRec.city #=> "Pawnee"
29
+ #
30
+ # @faker.version 1.9.0
13
31
  def city
14
32
  fetch('parks_and_rec.cities')
15
33
  end
@@ -1,19 +1,47 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faker
4
- module TvShows
4
+ class TvShows
5
5
  class RickAndMorty < Base
6
6
  flexible :rick_and_morty
7
7
 
8
8
  class << self
9
+ ##
10
+ # Produces a character from Rick and Morty.
11
+ #
12
+ # @return [String]
13
+ #
14
+ # @example
15
+ # Faker::TvShows::RickAndMorty.character #=> "Rick Sanchez"
16
+ #
17
+ # @faker.version 1.8.0
9
18
  def character
10
19
  fetch('rick_and_morty.characters')
11
20
  end
12
21
 
22
+ ##
23
+ # Produces a location from Rick and Morty.
24
+ #
25
+ # @return [String]
26
+ #
27
+ # @example
28
+ # Faker::TvShows::RickAndMorty.location #=> "Dimension C-132"
29
+ #
30
+ # @faker.version 1.8.0
13
31
  def location
14
32
  fetch('rick_and_morty.locations')
15
33
  end
16
34
 
35
+ ##
36
+ # Produces a quote from Rick and Morty.
37
+ #
38
+ # @return [String]
39
+ #
40
+ # @example
41
+ # Faker::TvShows::RickAndMorty.quote
42
+ # #=> "Ohh yea, you gotta get schwifty."
43
+ #
44
+ # @faker.version 1.8.0
17
45
  def quote
18
46
  fetch('rick_and_morty.quotes')
19
47
  end