Class: Faker::Movies::BackToTheFuture
- Defined in:
- lib/faker/movies/back_to_the_future.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.character ⇒ String
Produces a character from Back to the Future.
-
.date ⇒ String
Produces a date from Back to the Future.
-
.quote ⇒ String
Produces a quote from Back to the Future.
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 a character from Back to the Future.
16 17 18 |
# File 'lib/faker/movies/back_to_the_future.rb', line 16 def character fetch('back_to_the_future.characters') end |
.date ⇒ String
Produces a date from Back to the Future.
29 30 31 |
# File 'lib/faker/movies/back_to_the_future.rb', line 29 def date fetch('back_to_the_future.dates') end |
.quote ⇒ String
Produces a quote from Back to the Future.
43 44 45 |
# File 'lib/faker/movies/back_to_the_future.rb', line 43 def quote fetch('back_to_the_future.quotes') end |