Class: Faker::ElectricalComponents

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/default/electrical_components.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale

Class Method Details

.activeObject


8
9
10
# File 'lib/faker/default/electrical_components.rb', line 8

def active
  fetch('electrical_components.active')
end

.electromechanicalObject


16
17
18
# File 'lib/faker/default/electrical_components.rb', line 16

def electromechanical
  fetch('electrical_components.electromechanical')
end

.passiveObject


12
13
14
# File 'lib/faker/default/electrical_components.rb', line 12

def passive
  fetch('electrical_components.passive')
end