Class: Faker::Movies::TheRoom

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

Examples:

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

Returns:

  • (String)

Available since:

  • next


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

def actor
  fetch('room.actors')
end

.characterString

Produces a character from The Room (2003).

Examples:

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

Returns:

  • (String)

Available since:

  • next


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

def character
  fetch('room.characters')
end

.locationString

Produces a location from The Room (2003).

Examples:

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

Returns:

  • (String)

Available since:

  • next


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

def location
  fetch('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:

  • (String)

Available since:

  • next


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

def quote
  fetch('room.quotes')
end