Class: RubyXL::SheetData

Inherits:
OOXMLObject show all
Defined in:
lib/rubyXL/objects/sheet_data.rb

Overview

Instance Method Summary collapse

Methods included from OOXMLObjectClassMethods

#define_attribute, #define_child_node, #define_element_name, #obtain_class_variable, #parse, #set_countable

Methods included from OOXMLObjectInstanceMethods

#before_write_xml, #dup, #index_in_collection, #initialize, #write_xml

Instance Method Details

#[](ind) ⇒ Object



156
157
158
# File 'lib/rubyXL/objects/sheet_data.rb', line 156

def [](ind)
  rows[ind]
end

#sizeObject



160
161
162
# File 'lib/rubyXL/objects/sheet_data.rb', line 160

def size
  rows.size
end