Method: Openapi3Parser::Node::Object#==

Defined in:
lib/openapi3_parser/node/object.rb

#==(other) ⇒ Boolean

Parameters:

  • other (Any)

Returns:

  • (Boolean)


54
55
56
57
# File 'lib/openapi3_parser/node/object.rb', line 54

def ==(other)
  other.instance_of?(self.class) &&
    node_context.same_data_and_source?(other.node_context)
end