Class: Faker::Movies::HitchhikersGuideToTheGalaxy

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/movies/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, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale

Class Method Details

.characterObject



7
8
9
# File 'lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb', line 7

def character
  fetch('hitchhikers_guide_to_the_galaxy.characters')
end

.locationObject



11
12
13
# File 'lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb', line 11

def location
  fetch('hitchhikers_guide_to_the_galaxy.locations')
end

.marvin_quoteObject



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

def marvin_quote
  fetch('hitchhikers_guide_to_the_galaxy.marvin_quote')
end

.planetObject



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

def planet
  fetch('hitchhikers_guide_to_the_galaxy.planets')
end

.quoteObject



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

def quote
  fetch('hitchhikers_guide_to_the_galaxy.quotes')
end

.specieObject



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

def specie
  fetch('hitchhikers_guide_to_the_galaxy.species')
end

.starshipObject



31
32
33
# File 'lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb', line 31

def starship
  fetch('hitchhikers_guide_to_the_galaxy.starships')
end