Class: Windows::Units::Recognizer::Formats::Pixel
- Defined in:
- lib/windows/units/recognizer.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#match ⇒ Object
match 50, 50.5, 50.02.
Methods inherited from Base
Instance Method Details
#match ⇒ Object
match 50, 50.5, 50.02
28 29 30 31 |
# File 'lib/windows/units/recognizer.rb', line 28 def match data = el.kind_of?(Numeric) item = return_match(self, data) { @unit = el } end |