lib/osheet/column.rb in osheet-1.0.0.rc.4 vs lib/osheet/column.rb in osheet-1.0.0
- old
+ new
@@ -1,19 +1,20 @@
require 'osheet/meta_element'
require 'osheet/styled_element'
+require 'osheet/format'
module Osheet
class Column
include MetaElement
include StyledElement
attr_reader :format
def initialize(width=nil)
- @width = width
+ @width = width
@autofit = false
- @hidden = false
+ @hidden = false
@format = Format.new(:general)
end
def width(value=nil)
value.nil? ? @width : @width = value