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.



124
125
126
# File 'lib/oxidized/hook.rb', line 124

def cfg
  @cfg
end

Instance Method Details

#run_hook(_ctx) ⇒ Object

Raises:

  • (NotImplementedError)


131
132
133
# File 'lib/oxidized/hook.rb', line 131

def run_hook(_ctx)
  raise NotImplementedError
end