Class: Time
- Defined in:
- vendor/bundler/ruby/3.3.0/bundler/gems/sxp.rb-7a771a32c5fe/lib/sxp/extensions.rb
Overview
Extensions for Ruby's Time
class.
Instance Method Summary collapse
-
#to_sxp(**options) ⇒ String
Returns the SXP representation of this object.
Instance Method Details
#to_sxp(**options) ⇒ String
Returns the SXP representation of this object.
201 202 203 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sxp.rb-7a771a32c5fe/lib/sxp/extensions.rb', line 201 def to_sxp(**) '#@' << (respond_to?(:xmlschema) ? xmlschema : to_i).to_s end |