Class: HandyToolbox::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/handy_toolbox/plugin.rb

Constant Summary collapse

PluginNotConfigured =
StandardError.new(
  'Plugin not configured (missing #on_attach definition)'
)

Instance Method Summary collapse

Instance Method Details

#on_attach(node) ⇒ Object



8
9
10
# File 'lib/handy_toolbox/plugin.rb', line 8

def on_attach(node)
  raise PluginNotConfigured
end