Class: Faker::Verb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.base ⇒ String
Produces the base form of a random verb.
-
.ing_form ⇒ String
Produces a random verb in the .ing form.
-
.past ⇒ String
Produces a random verb in past tense.
-
.past_participle ⇒ String
Produces a random verb in past participle.
-
.simple_present ⇒ String
Produces a random verb in simple present.
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
.base ⇒ String
Produces the base form of a random verb.
15 16 17 |
# File 'lib/faker/default/verb.rb', line 15 def base fetch('verbs.base') end |
.ing_form ⇒ String
Produces a random verb in the .ing form.
67 68 69 |
# File 'lib/faker/default/verb.rb', line 67 def ing_form fetch('verbs.ing_form') end |
.past ⇒ String
Produces a random verb in past tense.
28 29 30 |
# File 'lib/faker/default/verb.rb', line 28 def past fetch('verbs.past') end |
.past_participle ⇒ String
Produces a random verb in past participle.
41 42 43 |
# File 'lib/faker/default/verb.rb', line 41 def past_participle fetch('verbs.past_participle') end |
.simple_present ⇒ String
Produces a random verb in simple present.
54 55 56 |
# File 'lib/faker/default/verb.rb', line 54 def simple_present fetch('verbs.simple_present') end |