Method: Toolshed::Git::Branch.from

Defined in:
lib/toolshed/git/branch.rb

.fromObject



27
28
29
# File 'lib/toolshed/git/branch.rb', line 27

def from
  `git rev-parse --abbrev-ref --symbolic-full-name @{u}`.split('/')[-1].strip
end