lib/tracksperanto/keyframe.rb in tracksperanto-2.8.0 vs lib/tracksperanto/keyframe.rb in tracksperanto-2.8.1
- old
+ new
@@ -25,6 +25,10 @@
cast_to_int :frame
def inspect
'#< %.1fx%.1f @%d ~%.2f) >' % [abs_x, abs_y, frame, residual]
end
+
+ def <=>(another)
+ frame <=> another.frame
+ end
end
\ No newline at end of file