Class: Oxidized::Hook

Inherits:
Object
  • Object
show all
Includes:
SemanticLogger::Loggable
Defined in:
lib/oxidized/hook.rb

Overview

Hook abstract base class

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cfgObject

Returns the value of attribute cfg.



74
75
76
# File 'lib/oxidized/hook.rb', line 74

def cfg
  @cfg
end

Instance Method Details

#run_hook(_ctx) ⇒ Object

Raises:

  • (NotImplementedError)


81
82
83
# File 'lib/oxidized/hook.rb', line 81

def run_hook(_ctx)
  raise NotImplementedError
end