Class: DevFlow::Timer

Inherits:
App
  • Object
show all
Defined in:
lib/dev_flow/commands/timer.rb

Instance Attribute Summary

Attributes inherited from App

#command, #config, #git, #logger, #members, #roadmap, #waiting

Instance Method Summary collapse

Methods inherited from App

#all_member_names, #ask_rebase, #debug, #display_close_waiting, #display_tasks, #error, #hello, #hr, #hrb, #hrbh, #hrh, #i_am_leader?, #i_am_moderator?, #i_am_supervisor?, #i_have_power?, #in_release?, #in_trunk?, #info, #initialize, #leader_name, #load_roadmap, #new_version, #switch_to!, #sync?, #task, #tasks_for_close, #upload_progress!, #user_name, #warn

Constructor Details

This class inherits a constructor from DevFlow::App

Instance Method Details

#process!Object



4
5
6
7
8
9
10
# File 'lib/dev_flow/commands/timer.rb', line 4

def process!

  ms = ARGV[1] ? ARGV[1].to_i : 25

  b = File.expand_path(File.dirname(__FILE__) + '/../../../bin/ot.exe')
  `#{b} #{ms}`
end