Class: Time
Overview
Extensions for Ruby’s Time class.
Instance Method Summary collapse
-
#to_sxp ⇒ String
Returns the SXP representation of this object.
Instance Method Details
#to_sxp ⇒ String
Returns the SXP representation of this object.
136 137 138 |
# File 'lib/sxp/writer.rb', line 136 def to_sxp '#@' << (respond_to?(:xmlschema) ? xmlschema : to_i).to_s end |