Parent

Methods

Included Modules

GraphiteAPI::Runner

Public Class Methods

new(argv) click to toggle source
# File lib/graphite-api/runner.rb, line 7
def initialize argv
  CLI.parse argv, options
  validate_options
end

Public Instance Methods

run() click to toggle source
# File lib/graphite-api/runner.rb, line 12
def run
  Logger.init Hash[[:std,:level].zip options.values_at(:log_file, :log_level) ]
  options[:daemonize] ? daemonize(options[:pid], &method(:run!)) : run!
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.