Class: Faker::Movies::VForVendetta

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/movies/v_for_vendetta.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, translate, unique, with_locale

Class Method Details

.characterString

Produces a character from V For Vendetta.

Examples:

Faker::Movies::VForVendetta.character #=> "V"

Returns:

  • (String)

Available since:

  • 1.8.5



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

def character
  fetch('v_for_vendetta.characters')
end

.quoteString

Produces a quote from V For Vendetta.

Examples:

Faker::Movies::VForVendetta.quote
  #=> "People should not be afraid of their governments. Governments should be afraid of their people."

Returns:

  • (String)

Available since:

  • 1.8.5



44
45
46
# File 'lib/faker/movies/v_for_vendetta.rb', line 44

def quote
  fetch('v_for_vendetta.quotes')
end

.speechString

Produces a speech from V For Vendetta.

Examples:

Faker::Movies::VForVendetta.speech
  #=> "Remember, remember, the Fifth of November, the Gunpowder Treason and Plot. I know of no reason why the Gunpowder Treason should ever be forgot..."

Returns:

  • (String)

Available since:

  • 1.8.5



30
31
32
# File 'lib/faker/movies/v_for_vendetta.rb', line 30

def speech
  fetch('v_for_vendetta.speeches')
end