Class: Faker::Quote
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.famous_last_words ⇒ String
Produces a famous last words quote.
-
.fortune_cookie ⇒ String
Produces a quote from a fortune cookie.
-
.jack_handey ⇒ String
Produces a quote from Deep Thoughts by Jack Handey.
-
.matz ⇒ String
Produces a quote from Matz.
-
.mitch_hedberg ⇒ String
Produces a quote from comedian Mitch Hedberg.
-
.most_interesting_man_in_the_world ⇒ String
Produces a quote about the most interesting man in the world.
-
.robin ⇒ String
Produces a Robin quote.
-
.singular_siegler ⇒ String
Produces a singular siegler quote.
-
.yoda ⇒ String
Produces a quote from Yoda.
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, shuffle!, translate, unique, with_locale
Class Method Details
.famous_last_words ⇒ String
Produces a famous last words quote.
15 16 17 |
# File 'lib/faker/quotes/quote.rb', line 15 def famous_last_words fetch('quote.famous_last_words') end |
.fortune_cookie ⇒ String
Produces a quote from a fortune cookie.
106 107 108 |
# File 'lib/faker/quotes/quote.rb', line 106 def fetch('quote.fortune_cookie') end |
.jack_handey ⇒ String
Produces a quote from Deep Thoughts by Jack Handey.
28 29 30 |
# File 'lib/faker/quotes/quote.rb', line 28 def jack_handey fetch('quote.jack_handey') end |
.matz ⇒ String
Produces a quote from Matz.
41 42 43 |
# File 'lib/faker/quotes/quote.rb', line 41 def matz fetch('quote.matz') end |
.mitch_hedberg ⇒ String
Produces a quote from comedian Mitch Hedberg.
119 120 121 |
# File 'lib/faker/quotes/quote.rb', line 119 def mitch_hedberg fetch('quote.mitch_hedberg') end |
.most_interesting_man_in_the_world ⇒ String
Produces a quote about the most interesting man in the world.
54 55 56 |
# File 'lib/faker/quotes/quote.rb', line 54 def most_interesting_man_in_the_world fetch('quote.most_interesting_man_in_the_world') end |
.robin ⇒ String
Produces a Robin quote.
67 68 69 |
# File 'lib/faker/quotes/quote.rb', line 67 def robin fetch('quote.robin') end |
.singular_siegler ⇒ String
Produces a singular siegler quote.
80 81 82 |
# File 'lib/faker/quotes/quote.rb', line 80 def singular_siegler fetch('quote.singular_siegler') end |
.yoda ⇒ String
Produces a quote from Yoda.
93 94 95 |
# File 'lib/faker/quotes/quote.rb', line 93 def yoda fetch('quote.yoda') end |