class ZugZug::QuarterMaster
Public Class Methods
new(faction = HORDE)
click to toggle source
# File lib/zug_zug/quarter_master.rb, line 5 def initialize(faction = HORDE) @soundboard = Soundboard.new(faction) end
Public Instance Methods
checked_out!(argv)
click to toggle source
# File lib/zug_zug/quarter_master.rb, line 9 def checked_out!(argv) previous_head, new_head, branch_flag = argv if branch_flag == "1" && new_head == previous_head @soundboard.work_starts end end
merged!(argv)
click to toggle source
# File lib/zug_zug/quarter_master.rb, line 17 def merged!(argv) @soundboard.work_is_over end