lib/unparser/validation.rb
# Test if source could be unparsed successfully
#
# @return [Boolean]
#
# @api private
#
Test if source could be unparsed successfully
Test if source could be unparsed successfully
def success?
      [
        original_source,
        original_node,
        generated_source,
        generated_node
      ].all?(&:right?) && generated_node.from_right.eql?(original_node.from_right)
    end
def success? [ original_source , original_node , generated_source , generated_node ] . all? ( & :right? ) && generated_node . from_right . eql? ( original_node . from_right ) end
Test if source could be unparsed successfully
Test if source could be unparsed successfully
None
Boolean
api
None