Module: Foreground

Defined in:
lib/foreground.rb,
lib/foreground/cli.rb,
lib/foreground/daemon.rb,
lib/foreground/version.rb,
lib/foreground/signal_handlers.rb

Defined Under Namespace

Classes: CLI, Daemon, DaemonError

Constant Summary collapse

VERSION =
'0.1.0'

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.configObject

The global configuration based on command line options.



10
11
12
# File 'lib/foreground.rb', line 10

def config
  @config
end

Instance Method Details

#loggerObject



13
14
15
# File 'lib/foreground.rb', line 13

def logger
  @logger ||= create_logger
end