Class: Faker::HitchhikersGuideToTheGalaxy

Inherits:
Base
  • Object
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

.characterObject


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

def character
  fetch('hitchhikers_guide_to_the_galaxy.characters')
end

.locationObject


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_quoteObject


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

.planetObject


16
17
18
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 16

def planet
  fetch('hitchhikers_guide_to_the_galaxy.planets')
end

.quoteObject


20
21
22
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 20

def quote
  fetch('hitchhikers_guide_to_the_galaxy.quotes')
end

.specieObject


24
25
26
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 24

def specie
  fetch('hitchhikers_guide_to_the_galaxy.species')
end

.starshipObject


28
29
30
# File 'lib/faker/hitchhikers_guide_to_the_galaxy.rb', line 28

def starship
  fetch('hitchhikers_guide_to_the_galaxy.starships')
end