Class: Faker::BackToTheFuture

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/back_to_the_future.rb

Constant Summary

Constants inherited from Base

Faker::Base::Letters, Faker::Base::Numbers, Faker::Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, sample, shuffle, translate, unique, with_locale

Class Method Details

.characterObject


4
5
6
# File 'lib/faker/back_to_the_future.rb', line 4

def character
  fetch('back_to_the_future.characters')
end

.dateObject


8
9
10
# File 'lib/faker/back_to_the_future.rb', line 8

def date
  fetch('back_to_the_future.dates')
end

.quoteObject


12
13
14
# File 'lib/faker/back_to_the_future.rb', line 12

def quote
  fetch('back_to_the_future.quotes')
end