lib/unparser/node_details/send.rb in unparser-0.6.5 vs lib/unparser/node_details/send.rb in unparser-0.6.6
- old
+ new
@@ -17,12 +17,12 @@
def selector_binary_operator?
BINARY_OPERATORS.include?(selector)
end
def binary_syntax_allowed?
- selector_binary_operator? \
- && arguments.one? \
- && !n_splat?(arguments.first) \
+ selector_binary_operator? \
+ && arguments.one? \
+ && !n_splat?(arguments.first) \
&& !n_kwargs?(arguments.first)
end
def selector_unary_operator?
UNARY_OPERATORS.include?(selector)