Sha256: d601a62e1962981eaaf559d94b90dfc149f6c7b3b7f07d6c4d959d5188e6a07c

Contents?: true

Size: 285 Bytes

Versions: 14

Compression:

Stored size: 285 Bytes

Contents

class Time
  def to_date
    Date.new(year, month, day)
  end
  
  def to_time
    self
  end
  
  def ==(other)
    other &&
    year == other.year &&
    month == other.month &&
    day == other.day &&
    hour == other.hour &&
    min == other.min &&
    sec == other.sec
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
motion-support-1.2.1 motion/_stdlib/time.rb
motion-support-1.1.1 motion/_stdlib/time.rb
motion-support-1.2.0 motion/_stdlib/time.rb
motion-support-1.1.0 motion/_stdlib/time.rb
motion-support-1.0.0 motion/_stdlib/time.rb
motion-support-0.3.0 motion/_stdlib/time.rb
motion_blender-support-0.2.8 motion/_stdlib/time.rb
motion_blender-support-0.2.7 motion/_stdlib/time.rb
motion-support-0.2.6 motion/_stdlib/time.rb
motion-support-0.2.5 motion/_stdlib/time.rb
motion-support-0.2.4 motion/_stdlib/time.rb
motion-support-0.2.3 motion/_stdlib/time.rb
motion-support-0.2.2 motion/_stdlib/time.rb
motion-support-0.2.0 motion/_stdlib/time.rb