Class: OoxmlParser::Configuration
- Inherits:
-
Object
- Object
- OoxmlParser::Configuration
- Defined in:
- lib/ooxml_parser/configuration.rb
Overview
Class for storing configuration
Instance Attribute Summary collapse
-
#accuracy ⇒ Integer
Accuracy of digits in fraction part.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 |
# File 'lib/ooxml_parser/configuration.rb', line 9 def initialize @accuracy = 2 end |
Instance Attribute Details
#accuracy ⇒ Integer
Returns accuracy of digits in fraction part.
7 8 9 |
# File 'lib/ooxml_parser/configuration.rb', line 7 def accuracy @accuracy end |