support/ruby/collins-client/lib/collins/client.rb
# Interact with a collins managed process
# @param [String] name Name of process
# @raise [CollinsError] if no managed process is specified/found
# @return [Collins::ManagedState::Mixin] see mixin for more information
Interact with a collins managed process
Interact with a collins managed process
def manage_process name = nil
      name = @managed_process if name.nil?
      if name then
        begin
          Collins.const_get(name).new(self).run
        rescue Exception => e
          raise CollinsError.new(e.message)
        end
      else
        raise CollinsError.new("No managed process specified")
      end
    end
def manage_process name = nil name = @managed_process if name . nil? if name then begin Collins . const_get ( name ) . new ( self ) . run rescue Exception => e raise CollinsError . new ( e . message ) end else raise CollinsError . new ( "No managed process specified" ) end end
Interact with a collins managed process
Interact with a collins managed process
see mixin for more information
see mixin for more information
Collins::ManagedState::Mixin
[CollinsError] if no managed process is specified/found
[ CollinsError ] if no managed process is specified / found
name
name Name of process
name Name of process