Sha256: 8456b426a7a584866bc4108d39f9e6603105c68230818958702ea86ca6dcdaba

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

module Crono
  class Config
    CRONOTAB  = "config/cronotab.rb"
    LOGFILE   = "log/crono.log"
    PIDFILE   = "tmp/pids/crono.pid"

    attr_accessor :cronotab
    attr_accessor :logfile
    attr_accessor :pidfile
    attr_accessor :daemonize

    def initialize
      self.cronotab = CRONOTAB
      self.logfile  = LOGFILE
      self.pidfile  = PIDFILE
      self.daemonize = false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crono-0.5.0 lib/crono/config.rb