lib/axiom/function.rb in axiom-0.1.1 vs lib/axiom/function.rb in axiom-0.2.0
- old
+ new
@@ -19,10 +19,10 @@
#
# @todo simplify once Attribute#rename works the same as Function#rename
#
# @api private
def self.rename_attributes(operand, aliases)
- if operand.respond_to?(:rename) && ! operand.kind_of?(Attribute)
+ if operand.respond_to?(:rename) && !operand.kind_of?(Attribute)
operand.rename(aliases)
else
aliases[operand]
end
end