lib/whirled_peas/animator/frameset.rb in whirled_peas-0.8.0 vs lib/whirled_peas/animator/frameset.rb in whirled_peas-0.9.0
- old
+ new
@@ -8,10 +8,10 @@
@frame_slots = frame_slots
@easing = Easing.new(easing, effect)
@frames = []
end
- def add_frame(name, args={})
+ def add_frame(name, args: {})
frames << [name, args]
end
# Yield each frame in an "eased" order
def each_frame(&block)