Class: Faker::TvShows::Buffy

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/tv_shows/buffy.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

.big_badString

Produces a big bad from Buffy the Vampire Slayer.

Examples:

Faker::TvShows::Buffy.big_bad #=> "Glory"

Returns:

  • (String)

Available since:

  • 1.9.2


57
58
59
# File 'lib/faker/tv_shows/buffy.rb', line 57

def big_bad
  fetch('buffy.big_bads')
end

.celebrityString

Produces a celebrity from Buffy the Vampire Slayer.

Examples:

Faker::TvShows::Buffy.celebrity #=> "John Ritter"

Returns:

  • (String)

Available since:

  • 1.9.2


44
45
46
# File 'lib/faker/tv_shows/buffy.rb', line 44

def celebrity
  fetch('buffy.celebrities')
end

.characterString

Produces a character from Buffy the Vampire Slayer.

Examples:

Faker::TvShows::Buffy.character #=> "Buffy Summers"

Returns:

  • (String)

Available since:

  • 1.9.2


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

def character
  fetch('buffy.characters')
end

.episodeString

Produces an episode from Buffy the Vampire Slayer.

Examples:

Faker::TvShows::Buffy.episode #=> "Once More, with Feeling"

Returns:

  • (String)

Available since:

  • 1.9.2


70
71
72
# File 'lib/faker/tv_shows/buffy.rb', line 70

def episode
  fetch('buffy.episodes')
end

.quoteString

Produces a quote from Buffy the Vampire Slayer.

Examples:

Faker::TvShows::Buffy.quote #=> "If the apocalypse comes, beep me."

Returns:

  • (String)

Available since:

  • 1.9.2


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

def quote
  fetch('buffy.quotes')
end