Class: Faker::Movies::Lebowski

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/movies/lebowski.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 an actor from The Big Lebowski.

Examples:

Faker::Movies::Lebowski.actor #=> "John Goodman"

Returns:

  • (String)

Available since:

  • 1.8.8



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

def actor
  fetch('lebowski.actors')
end

.characterString

Produces a character from The Big Lebowski.

Examples:

Faker::Movies::Lebowski.character #=> "Jackie Treehorn"

Returns:

  • (String)

Available since:

  • 1.8.8



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

def character
  fetch('lebowski.characters')
end

.quoteString

Produces a quote from The Big Lebowski.

Examples:

Faker::Movies::Lebowski.quote #=> "Forget it, Donny, you're out of your element!"

Returns:

  • (String)

Available since:

  • 1.8.8



42
43
44
# File 'lib/faker/movies/lebowski.rb', line 42

def quote
  fetch('lebowski.quotes')
end