class Faker::Movies::HitchhikersGuideToTheGalaxy

Public Class Methods

character() click to toggle source

Produces a character from The Hitchhiker's Guide to the Galaxy.

@return [String]

@example

Faker::Movies::HitchhikersGuideToTheGalaxy.character #=> "Marvin"

@faker.version 1.8.0

# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 16
def character
  fetch('hitchhikers_guide_to_the_galaxy.characters')
end
location() click to toggle source

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

# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 30
def location
  fetch('hitchhikers_guide_to_the_galaxy.locations')
end
marvin_quote() click to toggle source

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

# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 44
def marvin_quote
  fetch('hitchhikers_guide_to_the_galaxy.marvin_quote')
end
planet() click to toggle source

Produces a planet from The Hitchhiker's Guide to the Galaxy.

@return [String]

@example

Faker::Movies::HitchhikersGuideToTheGalaxy.planet
  #=> "Magrathea"

@faker.version 1.8.0

# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 58
def planet
  fetch('hitchhikers_guide_to_the_galaxy.planets')
end
quote() click to toggle source

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

# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 72
def quote
  fetch('hitchhikers_guide_to_the_galaxy.quotes')
end
specie() click to toggle source

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

# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 86
def specie
  fetch('hitchhikers_guide_to_the_galaxy.species')
end
starship() click to toggle source

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

# File lib/faker/movies/hitchhikers_guide_to_the_galaxy.rb, line 100
def starship
  fetch('hitchhikers_guide_to_the_galaxy.starships')
end