lib/gloo/expr/op_mult.rb in gloo-0.3.0 vs lib/gloo/expr/op_mult.rb in gloo-0.4.0
- old
+ new
@@ -7,14 +7,12 @@
module Gloo
module Expr
class OpMult < Gloo::Core::Op
# Perform the operation and return the result.
- def perform left, right
- if left.is_a? Integer
- return left * right.to_i
- end
+ def perform( left, right )
+ return left * right.to_i if left.is_a? Integer
end
-
+
end
end
end