Method: Quantify::Unit::Base.load

Defined in:
lib/quantify/unit/base_unit.rb

.load(options = nil, &block) ⇒ Object

Create a new instance of self (i.e. Base or an inherited class) and load into the system of known units. See initialize for details of options



13
14
15
# File 'lib/quantify/unit/base_unit.rb', line 13

def self.load(options=nil,&block)
  self.new(options,&block).load
end