Method: RubyUnits::Configuration#format
- Defined in:
- lib/ruby_units/configuration.rb
#format ⇒ Object
The style of format to use by default when generating output. When set to ‘:exponential`, all units will be represented in exponential notation instead of using a numerator and denominator.
43 44 45 |
# File 'lib/ruby_units/configuration.rb', line 43 def format @format end |