lib/osheet/styled_element.rb in osheet-0.4.0 vs lib/osheet/styled_element.rb in osheet-0.5.0

- old
+ new

@@ -1,6 +1,6 @@ module Osheet::StyledElement - def style_class(value); @style_class = verify_style_class(value); end + def style_class(value); set_ivar(:style_class, verify_style_class(value)); end private def verify_style_class(style_class) if !style_class.kind_of?(::String) || invalid_style_class?(style_class)