Class: Faker::Music::SmashingPumpkins

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/music/smashing_pumpkins.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, translate, unique, with_locale

Class Method Details

.albumString

Produces the name of an album by the Smashing Pumpkins.

Examples:

Faker::Music::SmashingPumpkins.album #=> "Siamese Dream"

Returns:



31
32
33
# File 'lib/faker/music/smashing_pumpkins.rb', line 31

def album
  fetch('smashing_pumpkins.albums')
end

.lyricString

Produces a random Smashing Pumpkins song lyric.

Examples:

Faker::Music::SmashingPumpkins.lyric #=> "Despite all my rage, I am still just a rat in a cage"
Faker::Music::SmashingPumpkins.lyric #=> "Breathin' underwater, and livin' under glass"

Returns:



45
46
47
# File 'lib/faker/music/smashing_pumpkins.rb', line 45

def lyric
  fetch('smashing_pumpkins.lyric')
end

.musicianString

Produces the name of a member of the Smashing Pumpkins (current and former)

Examples:

Faker::Music::SmashingPumpkins.musician #=> "Billy Corgan"

Returns:



18
19
20
# File 'lib/faker/music/smashing_pumpkins.rb', line 18

def musician
  fetch('smashing_pumpkins.musicians')
end

.songString

Produces the name of a song by the Smashing Pumpkins.

Examples:

Faker::Music::SmashingPumpkins.song #=> "Stand Inside My Love"

Returns:



58
59
60
# File 'lib/faker/music/smashing_pumpkins.rb', line 58

def song
  fetch('smashing_pumpkins.songs')
end