class Extract::Tables
Attributes
sheet_def[RW]
Public Instance Methods
[](c)
click to toggle source
# File lib/extract/tables.rb, line 25 def [](c) if c.to_s == 'all' Table.new(:cell_range => "A1:D100", :name => "all", :sheet_def => sheet_def) else tables[c] end end
add(name,range)
click to toggle source
# File lib/extract/tables.rb, line 7 def add(name,range) self.tables[name] = Table.new(:cell_range => range, :name => name, :sheet_def => sheet_def) end
each(&b)
click to toggle source
# File lib/extract/tables.rb, line 32 def each(&b) tables.each(&b) end
for_cell(c)
click to toggle source
# File lib/extract/tables.rb, line 21 def for_cell(c) cell_map[c] end
values()
click to toggle source
# File lib/extract/tables.rb, line 35 def values tables.values end