Class: RubyExcel::Column
Overview
A Column in the Sheet
Instance Attribute Summary collapse
-
#idx ⇒ String
readonly
the Column index.
-
#length ⇒ Fixnum
readonly
the Column length.
Attributes inherited from Section
Instance Method Summary collapse
-
#initialize(sheet, idx) ⇒ Column
constructor
Creates a RubyExcel::Column instance.
Methods inherited from Section
#<<, #cell, #delete, #each, #each_cell, #each_cell_without_headers, #each_without_headers, #empty?, #find, #inspect, #last_cell, #map!, #map_without_headers!, #read, #summarise, #to_s, #write
Methods included from Address
#address_to_col_index, #address_to_indices, #col_index, #col_letter, #column_id, #expand, #indices_to_address, #multi_array?, #offset, #row_id, #to_range_address
Constructor Details
#initialize(sheet, idx) ⇒ Column
Creates a RubyExcel::Column instance
305 306 307 308 |
# File 'lib/rubyexcel/section.rb', line 305 def initialize( sheet, idx ) @idx = idx super( sheet ) end |
Instance Attribute Details
#idx ⇒ String (readonly)
the Column index
294 295 296 |
# File 'lib/rubyexcel/section.rb', line 294 def idx @idx end |
#length ⇒ Fixnum (readonly)
the Column length
294 295 296 |
# File 'lib/rubyexcel/section.rb', line 294 def length @length end |