Class: Faker::Quotes::Chiquito

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

.expressionString

Produces an Expression from Chiquito

Examples:

Faker::Quotes::Chiquito.expression # => "Ereh un torpedo!"

Returns:

  • (String)

Available since:

  • 2.11.0



16
17
18
# File 'lib/faker/quotes/chiquito.rb', line 16

def expression
  sample(expressions)
end

.jokeString

Produces a joke from Chiquito

Examples:

Faker::Quotes::Chiquito.joke # => "- Papar papar llevame al circo!
                                   - Noorl! El que quiera verte que venga a la casa"

Returns:

  • (String)

Available since:

  • 2.11.0



43
44
45
# File 'lib/faker/quotes/chiquito.rb', line 43

def joke
  sample(jokes)
end

.sentenceString

Produces a sentence from Chiquito

Examples:

Faker::Quotes::Chiquito.sentence # => "Te llamo trigo por no llamarte Rodrigo"

Returns:

  • (String)

Available since:

  • 2.11.0



56
57
58
# File 'lib/faker/quotes/chiquito.rb', line 56

def sentence
  sample(sentences)
end

.termString

Produces a concept from Chiquito

Examples:

Faker::Quotes::Chiquito.term # => "Fistro"

Returns:

  • (String)

Available since:

  • 2.11.0



29
30
31
# File 'lib/faker/quotes/chiquito.rb', line 29

def term
  sample(terms)
end