Class: Puppet::Network::XMLRPCClient::ErrorHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/network/xmlrpc/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ ErrorHandler

Returns a new instance of ErrorHandler.



51
52
53
# File 'lib/puppet/network/xmlrpc/client.rb', line 51

def initialize(&block)
  singleton_class.define_method(:execute, &block)
end