Class: Faker::TvShows::FinalSpace

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/tv_shows/final_space.rb

Constant Summary

Constants inherited from Base

Base::LLetters, Base::Letters, Base::NOT_GIVEN, 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

.characterString

Produces a character from Final Space.

Examples:

Faker::TvShows::FinalSpace.character #=> "Gary Goodspeed"

Returns:

  • (String)

Available since:

  • next


18
19
20
# File 'lib/faker/tv_shows/final_space.rb', line 18

def character
  fetch('final_space.characters')
end

.quoteString

Produces a quote from Final Space.

Examples:

Faker::TvShows::FinalSpace.quote
  #=> "It's an alien on my face! It's an alien on my...It's a space alien!"

Returns:

  • (String)

Available since:

  • next


45
46
47
# File 'lib/faker/tv_shows/final_space.rb', line 45

def quote
  fetch('final_space.quotes')
end

.vehicleString

Produces a vehicle from Final Space.

Examples:

Faker::TvShows::FinalSpace.vehicle #=> "Imperium Cruiser"

Returns:

  • (String)

Available since:

  • next


31
32
33
# File 'lib/faker/tv_shows/final_space.rb', line 31

def vehicle
  fetch('final_space.vehicles')
end