Module: Windows::Units::Converter

Included in:
UnitConverter
Defined in:
lib/windows/units/converter.rb

Defined Under Namespace

Modules: Formats Classes: Base, Finder

Instance Method Summary collapse

Instance Method Details

#converter(el) ⇒ Object



57
58
59
60
61
# File 'lib/windows/units/converter.rb', line 57

def converter(el)
  @unit_converter ||= Finder.new(el)
  @unit_converter.el = el
  @unit_converter
end