Class: Faker::Movies::Hobbit
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.character ⇒ String
Produces the name of a character from The Hobbit.
-
.location ⇒ String
Produces the name of a location from The Hobbit.
-
.quote ⇒ String
Produces a quote from The Hobbit.
-
.thorins_company ⇒ String
Produces the name of one of the 13 dwarves from the Company, or Gandalf or Bilbo.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.character ⇒ String
Produces the name of a character from The Hobbit.
16 17 18 |
# File 'lib/faker/movies/hobbit.rb', line 16 def character fetch('tolkien.hobbit.character') end |
.location ⇒ String
Produces the name of a location from The Hobbit.
56 57 58 |
# File 'lib/faker/movies/hobbit.rb', line 56 def location fetch('tolkien.hobbit.location') end |
.quote ⇒ String
Produces a quote from The Hobbit.
43 44 45 |
# File 'lib/faker/movies/hobbit.rb', line 43 def quote fetch('tolkien.hobbit.quote') end |
.thorins_company ⇒ String
Produces the name of one of the 13 dwarves from the Company, or Gandalf or Bilbo.
29 30 31 |
# File 'lib/faker/movies/hobbit.rb', line 29 def thorins_company fetch('tolkien.hobbit.thorins_company') end |