lib/unparser/validation.rb in unparser-0.6.7 vs lib/unparser/validation.rb in unparser-0.6.8
- old
+ new
@@ -15,17 +15,19 @@
#
# @return [Boolean]
#
# @api private
#
+ # rubocop:disable Style/OperatorMethodCall
def success?
[
original_source,
original_node,
generated_source,
generated_node
].all?(&:right?) && generated_node.from_right.==(original_node.from_right)
end
+ # rubocop:enable Style/OperatorMethodCall
# Return error report
#
# @return [String]
#