Class: Windows::Units::Converter::Formats::Percent
- Defined in:
- lib/windows/units/converter.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Windows::Units::Converter::Base
Instance Method Details
#run ⇒ Object
21 22 23 24 |
# File 'lib/windows/units/converter.rb', line 21 def run raise "you must specify options[:base] to change number to percent" unless [:base] [:base].percent(el) end |