Sha256: 5576d765561f3984ae2499811d3e2689c373c63067ef70fb0cd9df6a2a639ab8
Contents?: true
Size: 490 Bytes
Versions: 2
Compression:
Stored size: 490 Bytes
Contents
module Crono # Crono::Config stores Crono configuration class Config CRONOTAB = 'config/cronotab.rb' LOGFILE = 'log/crono.log' PIDFILE = 'tmp/pids/crono.pid' attr_accessor :cronotab, :logfile, :pidfile, :daemonize, :environment def initialize self.cronotab = CRONOTAB self.logfile = LOGFILE self.pidfile = PIDFILE self.daemonize = false self.environment = ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
crono-0.8.1 | lib/crono/config.rb |
crono-0.8.0 | lib/crono/config.rb |