lib/unparser/node_details/send.rb in unparser-0.6.7 vs lib/unparser/node_details/send.rb in unparser-0.6.8
- old
+ new
@@ -18,9 +18,10 @@
BINARY_OPERATORS.include?(selector)
end
def binary_syntax_allowed?
selector_binary_operator? \
+ && n_send?(node) \
&& arguments.one? \
&& !n_splat?(arguments.first) \
&& !n_kwargs?(arguments.first)
end