Class: OoxmlParser::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ooxml_parser/configuration.rb

Overview

Class for storing configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#accuracyInteger

Returns accuracy of digits in fraction part.

Returns:

  • (Integer)

    accuracy of digits in fraction part



7
8
9
# File 'lib/ooxml_parser/configuration.rb', line 7

def accuracy
  @accuracy
end