Class: ECFS::SpreadsheetParser

Inherits:
Mechanize::File
  • Object
show all
Includes:
Util
Defined in:
lib/ecfs/spreadsheet_parser.rb

Constant Summary

Constants included from Util

Util::SIGNALS

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#rowsObject (readonly)

Returns the value of attribute rows.



9
10
11
# File 'lib/ecfs/spreadsheet_parser.rb', line 9

def rows
  @rows
end