Method: Pigi::SetID#m
- Defined in:
- lib/pigi.rb
#m(message) ⇒ Object
35 36 37 38 39 40 41 42 43 |
# File 'lib/pigi.rb', line 35 def m() pivotalTrackerID = IDFileManager.readID() if !/\A\d*\z/.match(pivotalTrackerID) puts "Invalid story ID format. Set your ID once again using s command." else command = "git commit -m \"" + + " [##{pivotalTrackerID}]\"" system(command) end end |