Sha256: d5c1dbd163c2f22e4eb94ff996e34565067d5d354b348d88a6a64390eea3cc62

Contents?: true

Size: 229 Bytes

Versions: 9

Compression:

Stored size: 229 Bytes

Contents

module DevFlow
  class Timer < App

    def process!

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

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

  end # class
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dev_flow-0.6.2 lib/dev_flow/commands/timer.rb
dev_flow-0.6.1 lib/dev_flow/commands/timer.rb
dev_flow-0.6.0 lib/dev_flow/commands/timer.rb
dev_flow-0.5.5 lib/dev_flow/commands/timer.rb
dev_flow-0.5.4 lib/dev_flow/commands/timer.rb
dev_flow-0.5.3 lib/dev_flow/commands/timer.rb
dev_flow-0.5.2 lib/dev_flow/commands/timer.rb
dev_flow-0.5.1 lib/dev_flow/commands/timer.rb
dev_flow-0.5.0 lib/dev_flow/commands/timer.rb