Class: T1k::Commands::Branch
- Inherits:
-
Object
- Object
- T1k::Commands::Branch
- Defined in:
- lib/t1k/commands/branch.rb
Class Method Summary collapse
Class Method Details
.actual_branch ⇒ Object
4 5 6 7 8 |
# File 'lib/t1k/commands/branch.rb', line 4 def self.actual_branch branch = `git branch | grep '*' | awk '{print $2}'` branch end |