module Ayril::XMLElement::ElementStyleManipulation
Public Instance Methods
get_style(prop)
click to toggle source
# File lib/ayril/xml_element/element_style_manipulation.rb, line 7 def get_style(prop) self.style[style] end
set_style(style, value)
click to toggle source
# File lib/ayril/xml_element/element_style_manipulation.rb, line 8 def set_style(style, value) self.style[style] = value end
style()
click to toggle source
# File lib/ayril/xml_element/element_style_manipulation.rb, line 4 def style; XMLElement::XMLCSSHash.new self end
style=(h)
click to toggle source
# File lib/ayril/xml_element/element_style_manipulation.rb, line 5 def style=(h) self.style.replace h end