Module: Resistor
- Defined in:
- lib/resistor.rb,
lib/resistor/options.rb,
lib/resistor/version.rb,
lib/resistor/color_code.rb,
lib/resistor/basic_resistor.rb,
lib/resistor/combined_resistor.rb
Defined Under Namespace
Modules: ColorCode Classes: BasicResistor, CombinedResistor, Options
Constant Summary collapse
- VERSION =
"1.1.1"
Class Method Summary collapse
-
.new(arg, options = {}) ⇒ Resistor::BasicResistor
Alias for Resistor::BasicResistor.new.
Class Method Details
.new(arg, options = {}) ⇒ Resistor::BasicResistor
Alias for Resistor::BasicResistor.new
17 18 19 |
# File 'lib/resistor.rb', line 17 def new(arg, = {}) Resistor::BasicResistor.new(arg, ) end |