Method: YARD::CodeObjects::Proxy#equal?

Defined in:
lib/yard/code_objects/proxy.rb

#equal?(other) ⇒ Boolean Also known as: ==

Returns:

  • (Boolean)
[View source]

127
128
129
130
131
132
133
# File 'lib/yard/code_objects/proxy.rb', line 127

def equal?(other)
  if other.respond_to? :path
    path == other.path
  else
    false
  end
end