Method: Numerals::Format#initialize
- Defined in:
- lib/numerals/format/format.rb
#initialize(*args) ⇒ Format
Returns a new instance of Format.
46 47 48 49 50 51 52 53 54 |
# File 'lib/numerals/format/format.rb', line 46 def initialize(*args) @exact_input = false @rounding = Rounding[:short] @mode = Mode[] @symbols = Symbols[] @notation = :text @input_rounding = nil set! *args end |