Method: Rugged::Branch#==

Defined in:
lib/rugged/branch.rb

#==(other) ⇒ Object

[View source]

8
9
10
11
# File 'lib/rugged/branch.rb', line 8

def ==(other)
  other.instance_of?(Rugged::Branch) &&
    other.canonical_name == self.canonical_name
end