Class: Forma::NumberConfig
- Inherits:
-
Object
- Object
- Forma::NumberConfig
- Defined in:
- lib/forma/config.rb
Instance Attribute Summary collapse
-
#delimiter ⇒ Object
Returns the value of attribute delimiter.
-
#separator ⇒ Object
Returns the value of attribute separator.
Instance Method Summary collapse
-
#initialize ⇒ NumberConfig
constructor
A new instance of NumberConfig.
Constructor Details
#initialize ⇒ NumberConfig
Returns a new instance of NumberConfig.
37 38 39 40 |
# File 'lib/forma/config.rb', line 37 def initialize self.delimiter = ',' self.separator = '.' end |
Instance Attribute Details
#delimiter ⇒ Object
Returns the value of attribute delimiter.
35 36 37 |
# File 'lib/forma/config.rb', line 35 def delimiter @delimiter end |
#separator ⇒ Object
Returns the value of attribute separator.
36 37 38 |
# File 'lib/forma/config.rb', line 36 def separator @separator end |