Class: BoPeep::Host::Callbacks

Inherits:
Object
  • Object
show all
Defined in:
lib/bopeep.rb

Defined Under Namespace

Classes: Definition, Proxy

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from(callbacks = nil, &setup) ⇒ Object



1003
1004
1005
# File 'lib/bopeep.rb', line 1003

def self.from(callbacks = nil, &setup)
  Definition.new(callbacks, &setup).callbacks
end

Instance Method Details

#on_failure(command_outcome) ⇒ Object



941
942
# File 'lib/bopeep.rb', line 941

def on_failure(command_outcome)
end

#on_stderr(data) ⇒ Object



935
936
# File 'lib/bopeep.rb', line 935

def on_stderr(data)
end

#on_stdout(data) ⇒ Object



932
933
# File 'lib/bopeep.rb', line 932

def on_stdout(data)
end

#on_success(command_outcome) ⇒ Object



938
939
# File 'lib/bopeep.rb', line 938

def on_success(command_outcome)
end