Method: Librarian::Dependency#==

Defined in:
lib/librarian/dependency.rb

#==(other) ⇒ Object Also known as: eql?



166
167
168
169
170
171
172
# File 'lib/librarian/dependency.rb', line 166

def ==(other)
  !other.nil? &&
  self.class        == other.class        &&
  self.name         == other.name         &&
  self.requirement  == other.requirement  &&
  self.source       == other.source
end