Class: Faker::HitchhikersGuideToTheGalaxy
- Inherits:
-
Base
- Object
- Base
- Faker::HitchhikersGuideToTheGalaxy
show all
- Defined in:
- lib/faker/hitchhikers_guide_to_the_galaxy.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, sample, shuffle, translate, unique, with_locale
Class Method Details
.character ⇒ Object
4
5
6
|
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 4
def character
fetch('hitchhikers_guide_to_the_galaxy.characters')
end
|
.location ⇒ Object
8
9
10
|
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 8
def location
fetch('hitchhikers_guide_to_the_galaxy.locations')
end
|
.marvin_quote ⇒ Object
12
13
14
|
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 12
def marvin_quote
fetch('hitchhikers_guide_to_the_galaxy.marvin_quote')
end
|
.planet ⇒ Object
16
17
18
|
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 16
def planet
fetch('hitchhikers_guide_to_the_galaxy.planets')
end
|
.quote ⇒ Object
20
21
22
|
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 20
def quote
fetch('hitchhikers_guide_to_the_galaxy.quotes')
end
|
.specie ⇒ Object
24
25
26
|
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 24
def specie
fetch('hitchhikers_guide_to_the_galaxy.species')
end
|
.starship ⇒ Object
28
29
30
|
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 28
def starship
fetch('hitchhikers_guide_to_the_galaxy.starships')
end
|