Sha256: 1fe4d3e3a1c2d23bdd02bb91072bb98e583463301c87c152cfb487a96287c23b

Contents?: true

Size: 214 Bytes

Versions: 5

Compression:

Stored size: 214 Bytes

Contents

require_relative './lib/main.rb'

Main{
  daemonizes!

  def run
    i = 0

    loop do
      p argv
      p i
      sleep(3 + rand)
      i += 1
    end
  end





}


__END__


a.rb daemon start
a.rb daemon stop

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
main-6.2.2 a.rb
main-6.2.1 a.rb
main-6.2.0 a.rb
asana2flowdock-1.0.0 vendor/bundle/ruby/1.9.1/gems/main-6.1.0/a.rb
main-6.1.0 a.rb