Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/corefoundation/extensions.rb

Overview

Ruby Time class

Instance Method Summary collapse

Instance Method Details

#to_cfCF::Date

Returns a CF::Date representing the time.

Returns:



142
143
144
# File 'lib/corefoundation/extensions.rb', line 142

def to_cf
  CF::Date.from_time(self)
end