method
to_s
to_s()
public
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