class Faker::Movies::HitchhikersGuideToTheGalaxy
Public Class Methods
Source
# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 16 def character fetch('hitchhikers_guide_to_the_galaxy.characters') end
Produces a character from The Hitchhiker’s Guide to the Galaxy.
@return [String]
@example
Faker::Movies::HitchhikersGuideToTheGalaxy.character #=> "Marvin"
@faker.version 1.8.0
Source
# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 30 def location fetch('hitchhikers_guide_to_the_galaxy.locations') end
Produces a location from The Hitchhiker’s Guide to the Galaxy.
@return [String]
@example
Faker::Movies::HitchhikersGuideToTheGalaxy.location #=> "Arthur Dent's house"
@faker.version 1.8.0
Source
# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 44 def marvin_quote fetch('hitchhikers_guide_to_the_galaxy.marvin_quote') end
Produces a Marvin quote from The Hitchhiker’s Guide to the Galaxy.
@return [String]
@example
Faker::Movies::HitchhikersGuideToTheGalaxy.marvin_quote #=> "Life? Don't talk to me about life."
@faker.version 1.8.0
Source
# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 58 def planet fetch('hitchhikers_guide_to_the_galaxy.planets') end
Produces a planet from The Hitchhiker’s Guide to the Galaxy.
@return [String]
@example
Faker::Movies::HitchhikersGuideToTheGalaxy.planet #=> "Magrathea"
@faker.version 1.8.0
Source
# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 72 def quote fetch('hitchhikers_guide_to_the_galaxy.quotes') end
Produces a quote from The Hitchhiker’s Guide to the Galaxy.
@return [String]
@example
Faker::Movies::HitchhikersGuideToTheGalaxy.quote #=> "In the beginning, the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
@faker.version 1.8.0
Source
# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 86 def specie fetch('hitchhikers_guide_to_the_galaxy.species') end
Produces a species from The Hitchhiker’s Guide to the Galaxy.
@return [String]
@example
Faker::Movies::HitchhikersGuideToTheGalaxy.specie #=> "Perfectly Normal Beast"
@faker.version 1.8.0
Source
# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 100 def starship fetch('hitchhikers_guide_to_the_galaxy.starships') end
Produces a starship from The Hitchhiker’s Guide to the Galaxy.
@return [String]
@example
Faker::Movies::HitchhikersGuideToTheGalaxy.starship #=> "Vogon Constructor Fleet"
@faker.version 1.8.0