Class: Honeybadger::Plugin::Execution Private

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/honeybadger/plugin.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(config, &block) ⇒ Execution

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Execution


42
43
44
45
# File 'lib/honeybadger/plugin.rb', line 42

def initialize(config, &block)
  @config = config
  @block = block
end

Instance Method Details

#callObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


47
48
49
# File 'lib/honeybadger/plugin.rb', line 47

def call
  instance_eval(&block)
end