class Citrus::Components::Master
Public Class Methods
new(app, args={})
click to toggle source
Initialize the component
@param [Object] app @param [Hash] args
# File lib/citrus/components/master.rb, line 23 def initialize app, args={} @master = Citrus::Master::Master.new app, args end
Public Instance Methods
start(&block)
click to toggle source
Start the component
# File lib/citrus/components/master.rb, line 28 def start &block @master.start &block end
stop(force=false, &block)
click to toggle source
Stop the component
@param [Boolean] force
# File lib/citrus/components/master.rb, line 35 def stop force=false, &block @master.stop &block end