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.

Direct Known Subclasses

CollectorExecution

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.



115
116
117
118
# File 'lib/honeybadger/plugin.rb', line 115

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.



120
121
122
# File 'lib/honeybadger/plugin.rb', line 120

def call
  instance_eval(&block)
end