Class: Faker::TvShows::StrangerThings

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/tv_shows/stranger_things.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

.characterString

Produces a quote from Stranger Things.

Examples:

Faker::TvShows::StrangerThings.quote
  #=> "Friends don't lie."

Returns:

  • (String)

Available since:

  • 1.9.0


32
33
34
# File 'lib/faker/tv_shows/stranger_things.rb', line 32

def character
  fetch('stranger_things.character')
end

.quoteString

Produces a character from Stranger Things.

Examples:

Faker::TvShows::StrangerThings.character #=> "six"

Returns:

  • (String)

Available since:

  • 1.9.0


18
19
20
# File 'lib/faker/tv_shows/stranger_things.rb', line 18

def quote
  fetch('stranger_things.quote')
end