Class: Float

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

Constant Summary collapse

EPOCH =
Time.at(978307200.0)

Instance Method Summary collapse

Instance Method Details

#to_cocoa_dateObject


17
18
19
# File 'lib/things.rb', line 17

def to_cocoa_date
  EPOCH + self
end