lib/xmlss/element/column.rb in xmlss-1.0.0.rc.3 vs lib/xmlss/element/column.rb in xmlss-1.0.0.rc.4
- old
+ new
@@ -18,7 +18,13 @@
raise ArgumentError, "must specify width as a Numeric"
end
@width = value && value < 0 ? nil : value
end
+ def autofit; self.auto_fit_width; end
+ def autofit=(value); self.auto_fit_width = value; end
+
+ def autofit?; !!self.autofit; end
+ def hidden?; !!self.hidden; end
+
end
end