Class: Float

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

Instance Method Summary collapse

Instance Method Details

#to_dateObject



6
7
8
# File 'lib/winker/float.rb', line 6

def to_date
  self.to_time.to_date
end

#to_timeObject



3
4
5
# File 'lib/winker/float.rb', line 3

def to_time
  Time.at(self)
end