Class: Gitmine::RemoteBranch

Inherits:
Branch
  • Object
show all
Defined in:
lib/gitmine/branch.rb

Instance Attribute Summary

Attributes inherited from Branch

#issue_id

Instance Method Summary collapse

Methods inherited from Branch

find, find_local, find_remote, #initialize, #local, local_branches, #remote, remote_branches

Constructor Details

This class inherits a constructor from Gitmine::Branch

Instance Method Details

#deleteObject



99
100
101
# File 'lib/gitmine/branch.rb', line 99

def delete
  Git.delete_remote_branch(self.name)
end

#nameObject



95
96
97
# File 'lib/gitmine/branch.rb', line 95

def name
  Branch.find_remote(issue_id)
end