module Fleetctl
Constants
- VERSION
Attributes
options[R]
Public Class Methods
config(cfg)
click to toggle source
set global configuration options
# File lib/fleetctl.rb, line 39 def config(cfg) @options = Options.new(cfg) end
instance()
click to toggle source
get the global singleton controller
# File lib/fleetctl.rb, line 34 def instance @instance ||= Fleet::Controller.new end
logger()
click to toggle source
set the logger for fleet to use
# File lib/fleetctl.rb, line 44 def logger options.logger end
new(*args)
click to toggle source
use if you might need more than one fleet
# File lib/fleetctl.rb, line 29 def new(*args) Fleet::Controller.new(*args) end