class Faker::Movies::LordOfTheRings

Public Class Methods

character() click to toggle source

Produces a character from Lord of the Rings.

@return [String]

@example

Faker::Movies::LordOfTheRings.character #=> "Legolas"

@faker.version 1.7.0

# File lib/faker/movies/lord_of_the_rings.rb, line 16
def character
  fetch('lord_of_the_rings.characters')
end
location() click to toggle source

Produces a location from Lord of the Rings.

@return [String]

@example

Faker::Movies::LordOfTheRings.location #=> "Helm's Deep"

@faker.version 1.7.0

# File lib/faker/movies/lord_of_the_rings.rb, line 29
def location
  fetch('lord_of_the_rings.locations')
end
quote() click to toggle source

Produces a quote from Lord of the Rings.

@return [String]

@example

Faker::Movies::LordOfTheRings.quote
  #=> "I wish the Ring had never come to me. I wish none of this had happened."

@faker.version 1.9.0

# File lib/faker/movies/lord_of_the_rings.rb, line 43
def quote
  fetch('lord_of_the_rings.quotes')
end