Class: Faker::ElectricalComponents
- Defined in:
- lib/faker/default/electrical_components.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.active ⇒ String
Produces an active electrical component.
-
.electromechanical ⇒ String
Produces an electromechanical electrical component.
-
.passive ⇒ String
Produces a passive electrical component.
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
.active ⇒ String
Produces an active electrical component.
17 18 19 |
# File 'lib/faker/default/electrical_components.rb', line 17 def active fetch('electrical_components.active') end |
.electromechanical ⇒ String
Produces an electromechanical electrical component.
43 44 45 |
# File 'lib/faker/default/electrical_components.rb', line 43 def electromechanical fetch('electrical_components.electromechanical') end |
.passive ⇒ String
Produces a passive electrical component.
30 31 32 |
# File 'lib/faker/default/electrical_components.rb', line 30 def passive fetch('electrical_components.passive') end |