Method: ICalPal::RDT#to_i

Defined in:
lib/rdt.rb

#to_iInteger

Returns Seconds since epoch.

Returns:

  • (Integer)

    Seconds since epoch



52
53
54
# File 'lib/rdt.rb', line 52

def to_i
  to_time.to_i
end