Sha256: 4bf3703bb02b62399ea53798c338d4de9a618bb129c399b175bb6b72c3556737

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

# Include files
require File.dirname(__FILE__) + '/clockworkd/cronline'
require File.dirname(__FILE__) + '/clockworkd/event'
require File.dirname(__FILE__) + '/clockworkd/worker'
require File.dirname(__FILE__) + '/clockworkd/command'

unless 1.respond_to?(:seconds) 
  class Numeric
  	def seconds; self; end
  	alias :second :seconds

  	def minutes; self * 60; end
  	alias :minute :minutes

  	def hours; self * 3600; end
  	alias :hour :hours

  	def days; self * 86400; end
  	alias :day :days
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clockworkd-0.2.5 lib/clockworkd.rb