Class: Faker::Movies::Ghostbusters

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

.actorString

Produces an actor from Ghostbusters.

Examples:

Faker::Movies::Ghostbusters.actor #=> "Bill Murray"

Returns:

  • (String)

Available since:

  • 1.9.2


16
17
18
# File 'lib/faker/movies/ghostbusters.rb', line 16

def actor
  fetch('ghostbusters.actors')
end

.characterString

Produces a character from Ghostbusters.

Examples:

Faker::Movies::Ghostbusters.character #=> "Dr. Egon Spengler"

Returns:

  • (String)

Available since:

  • 1.9.2


29
30
31
# File 'lib/faker/movies/ghostbusters.rb', line 29

def character
  fetch('ghostbusters.characters')
end

.quoteString

Produces a quote from Ghostbusters.

Examples:

Faker::Movies::Ghostbusters.quote
  #=> "I tried to think of the most harmless thing. Something I loved from my childhood. Something that could never ever possibly destroy us. Mr. Stay Puft!"

Returns:

  • (String)

Available since:

  • 1.9.2


43
44
45
# File 'lib/faker/movies/ghostbusters.rb', line 43

def quote
  fetch('ghostbusters.quotes')
end