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