Class Spreadsheet::Column
In: lib/spreadsheet/column.rb
Parent: Object

The Column class. Encapsulates column-formatting and width, and provides a means to iterate over all cells in a column.

Useful Attributes:

width:The width in characters (in respect to the ‘0’ character of the Worksheet‘s default Font). Float values are permitted, for Excel the available Precision is at 1/256 characters.
default_format:The default Format for cells in this column (applied if there is no explicit Cell Format and no default Row format for the Cell).
hidden:The Column is hidden.
collapsed:The Column is collapsed.
outline_level:Outline level of the column.

Methods

default_format=   each   new   updater  

Included Modules

Datatypes Enumerable

Attributes

default_format  [R] 
idx  [R] 
width  [RW] 
worksheet  [RW] 

Public Class methods

Public Instance methods

Set the default Format for Cells in this Column.

Iterate over all cells in this column.

[Validate]