class ODT2HTML::Declaration
This class represents a CSS declaration; a property/value pair
Attributes
property[RW]
value[RW]
Public Class Methods
new( property=nil, value=nil )
click to toggle source
# File lib/odt2html/declaration.rb, line 6 def initialize( property=nil, value=nil ) @property = property @value = value end
Public Instance Methods
to_s()
click to toggle source
# File lib/odt2html/declaration.rb, line 11 def to_s return "#{property}: #{value}" end