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, 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

.actorString

Produces a actor from Buffy the Vampire Slayer.

Examples:

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

Returns:

  • (String)

Available since:

  • next



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

def actor
  fetch('buffy.actors')
end

.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

.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