lib/motion-kit/calculator/calculate.rb in motion-kit-0.10.11 vs lib/motion-kit/calculator/calculate.rb in motion-kit-0.11.0
- old
+ new
@@ -1,9 +1,9 @@
# @requires MotionKit::ViewCalculator
module MotionKit
module_function
def calculate(view, dimension, amount, full_view=nil)
- ViewCalculator.new.calculate(view, dimension, amount, full_view)
+ ViewCalculator.calculate(view, dimension, amount, full_view)
end
end