Class: Faker::JapaneseMedia::CowboyBebop

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/japanese_media/cowboy_bebop.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, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale

Class Method Details

.characterString

Produces a character from Cowboy Bebop.

Examples:

Faker::JapaneseMedia::CowboyBebop.character #=> "Spike Spiegel"

Returns:



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

def character
  fetch('cowboy_bebop.character')
end

.episodeString

Produces an episode from Cowboy Bebop.

Examples:

Faker::JapaneseMedia::CowboyBebop.episode #=> "Honky Tonk Women"

Returns:



29
30
31
# File 'lib/faker/japanese_media/cowboy_bebop.rb', line 29

def episode
  fetch('cowboy_bebop.episode')
end

.quoteString

Produces a quote from Cowboy Bebop.

Examples:

Faker::JapaneseMedia::CowboyBebop.quote #=> "Bang!!!"

Returns:



55
56
57
# File 'lib/faker/japanese_media/cowboy_bebop.rb', line 55

def quote
  fetch('cowboy_bebop.quote')
end

.songString

Produces a song title from Cowboy Bebop.

Examples:

Faker::JapaneseMedia::CowboyBebop.songs #=> "Live in Baghdad"

Returns:



42
43
44
# File 'lib/faker/japanese_media/cowboy_bebop.rb', line 42

def song
  fetch('cowboy_bebop.song')
end