Class: Faker::Movies::TheRoom

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/movies/the_room.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 Room (2003).

Examples:

Faker::Movies::Room.actor #=> "Tommy Wiseau"

Returns:



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

def actor
  fetch('the_room.actors')
end

.characterString

Produces a character from The Room (2003).

Examples:

Faker::Movies::Room.character #=> "Johnny"

Returns:



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

def character
  fetch('the_room.characters')
end

.locationString

Produces a location from The Room (2003).

Examples:

Faker::Movies::Room.location #=> "Johnny's Apartment"

Returns:



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

def location
  fetch('the_room.locations')
end

.quoteString

Produces a quote from The Room (2003).

Examples:

Faker::Movies::Room.quote
  #=> "You're lying, I never hit you. You are tearing me apart, Lisa!"

Returns:



57
58
59
# File 'lib/faker/movies/the_room.rb', line 57

def quote
  fetch('the_room.quotes')
end