Class: ECFS::SpreadsheetParser
- Inherits:
-
Mechanize::File
- Object
- Mechanize::File
- ECFS::SpreadsheetParser
- Includes:
- Util
- Defined in:
- lib/ecfs/spreadsheet_parser.rb
Constant Summary
Constants included from Util
Instance Attribute Summary collapse
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
-
#initialize(uri = nil, response = nil, body = nil, code = nil) ⇒ SpreadsheetParser
constructor
A new instance of SpreadsheetParser.
Methods included from Util
#format_iso_date, get_footnotes, #iso_date_to_simple_date
Constructor Details
#initialize(uri = nil, response = nil, body = nil, code = nil) ⇒ SpreadsheetParser
Returns a new instance of SpreadsheetParser.
11 12 13 14 15 |
# File 'lib/ecfs/spreadsheet_parser.rb', line 11 def initialize(uri = nil, response = nil, body = nil, code = nil) super(uri, response, body, code) @body = body @rows = formatted_rows end |
Instance Attribute Details
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
9 10 11 |
# File 'lib/ecfs/spreadsheet_parser.rb', line 9 def rows @rows end |