class Scio::Excel::Column
Defines a Column
for the data. You can set different styles for the header and the cells.
You can also set the width of the column.
Attributes
cell_style[RW]
header_style[RW]
name[RW]
type[RW]
width[RW]
Public Class Methods
new(name, opts = {})
click to toggle source
# File lib/dm_core/scio_excel.rb, line 396 def initialize(name, opts = {}) @name = name @header_style = opts[:header_style] @cell_style = opts[:cell_style] @width = opts[:width] @type = opts[:type].nil? ? 'String' : opts[:type] end