Class: Numeric

Inherits:
Object
  • Object
show all
Defined in:
lib/eletro/resistor.rb

Class Method Summary collapse

Class Method Details

.R(val) ⇒ Object



58
59
60
# File 'lib/eletro/resistor.rb', line 58

def self.R val
  Eletro::Resistor.new val
end