to_s() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/date/delta.rb, line 384
    def to_s
      format(%(%s(%dd %.02d:%02d'%02d"%03d)%s(%dy %dm)), # '
             if @delta.real < 0 then '-' else '+' end,
             days.abs, hours.abs, mins.abs, secs.abs, sec_fractions.abs * 1000,
             if @delta.imag < 0 then '-' else '+' end,
             years.abs, months.abs)
    end
Register or log in to add new notes.