Class: Spread2RDF::Mapping::Worksheet

Inherits:
Sheet show all
Defined in:
lib/spread2rdf/mapping/worksheet.rb

Instance Attribute Summary

Attributes inherited from Sheet

#resources

Attributes inherited from Element

#parent, #schema

Instance Method Summary collapse

Methods inherited from Sheet

#cell_value, #initialize, #map, #resource_by_index, #resource_by_row, #roo, #rows_per_resource, #worksheet

Methods inherited from Element

#_children_, #empty?, #graph, #initialize, #to_s

Constructor Details

This class inherits a constructor from Spread2RDF::Mapping::Sheet

Instance Method Details

#row_rangeObject



5
6
7
8
# File 'lib/spread2rdf/mapping/worksheet.rb', line 5

def row_range
  range = roo { |roo| (Coord[schema.start].row .. roo.last_row) }
  range.begin <= range.end ? range : nil
end