Method: TableGen::Column#initialize
- Defined in:
- lib/tablegen/column.rb
#initialize(index) ⇒ Column
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Column.
76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/tablegen/column.rb', line 76 def initialize(index) @index = index @alignment = :left @collapse = false @format = proc {|data| data.to_s } @header_alignment = :auto @min_width = 0 @padding = "\x20" @stretch = false end |