Class: Faker::Cannabis
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.brand ⇒ String
Produces a random brand.
-
.buzzword ⇒ String
Produces a random buzzword.
-
.cannabinoid ⇒ String
Produces a random cannabinoid type.
-
.cannabinoid_abbreviation ⇒ String
Produces a random abbreviation.
-
.category ⇒ String
Produces a random category.
-
.health_benefit ⇒ String
Produces a random health benefit.
-
.medical_use ⇒ String
Produces a random kind of medical use.
-
.strain ⇒ String
Produces a random strain.
-
.terpene ⇒ String
Produces a random terpene type.
-
.type ⇒ String
Produces a random type.
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
.brand ⇒ String
Produces a random brand.
131 132 133 |
# File 'lib/faker/default/cannabis.rb', line 131 def self.brand fetch('cannabis.brands') end |
.buzzword ⇒ String
Produces a random buzzword.
118 119 120 |
# File 'lib/faker/default/cannabis.rb', line 118 def self.buzzword fetch('cannabis.buzzwords') end |
.cannabinoid ⇒ String
Produces a random cannabinoid type.
40 41 42 |
# File 'lib/faker/default/cannabis.rb', line 40 def self.cannabinoid fetch('cannabis.cannabinoids') end |
.cannabinoid_abbreviation ⇒ String
Produces a random abbreviation.
27 28 29 |
# File 'lib/faker/default/cannabis.rb', line 27 def self.cannabinoid_abbreviation fetch('cannabis.cannabinoid_abbreviations') end |
.category ⇒ String
Produces a random category.
92 93 94 |
# File 'lib/faker/default/cannabis.rb', line 92 def self.category fetch('cannabis.categories') end |
.health_benefit ⇒ String
Produces a random health benefit.
79 80 81 |
# File 'lib/faker/default/cannabis.rb', line 79 def self.health_benefit fetch('cannabis.health_benefits') end |
.medical_use ⇒ String
Produces a random kind of medical use.
66 67 68 |
# File 'lib/faker/default/cannabis.rb', line 66 def self.medical_use fetch('cannabis.medical_uses') end |
.strain ⇒ String
Produces a random strain.
14 15 16 |
# File 'lib/faker/default/cannabis.rb', line 14 def self.strain fetch('cannabis.strains') end |
.terpene ⇒ String
Produces a random terpene type.
53 54 55 |
# File 'lib/faker/default/cannabis.rb', line 53 def self.terpene fetch('cannabis.terpenes') end |
.type ⇒ String
Produces a random type.
105 106 107 |
# File 'lib/faker/default/cannabis.rb', line 105 def self.type fetch('cannabis.types') end |