Class: Faker::RickAndMorty
- Inherits:
-
Base
- Object
- Base
- Faker::RickAndMorty
show all
- Defined in:
- lib/faker/rick_and_morty.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, 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, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.character ⇒ Object
4
5
6
|
# File 'lib/faker/rick_and_morty.rb', line 4
def character
fetch('rick_and_morty.characters')
end
|
.location ⇒ Object
8
9
10
|
# File 'lib/faker/rick_and_morty.rb', line 8
def location
fetch('rick_and_morty.locations')
end
|
.quote ⇒ Object
12
13
14
|
# File 'lib/faker/rick_and_morty.rb', line 12
def quote
fetch('rick_and_morty.quotes')
end
|