Module: Windows::Units::Recognizer
- Included in:
- UnitConverter
- Defined in:
- lib/windows/units/recognizer.rb
Defined Under Namespace
Modules: Formats Classes: Finder
Instance Method Summary collapse
Instance Method Details
#recognize_unit(el) ⇒ Object
61 62 63 64 65 |
# File 'lib/windows/units/recognizer.rb', line 61 def recognize_unit(el) @recognize_unit_engine ||= Finder.new @recognize_unit_engine.el = el @recognize_unit_engine.run end |