method

succ

v1_9_1_378 - Show latest stable - Class: Time
succ()
public

Return a new time object, one second later than time.

t = Time.now       #=> 2007-11-19 08:23:57 -0600
t.succ             #=> 2007-11-19 08:23:58 -0600