Skip to content
Kward Search API index

Class: Kward::PluginRegistry::LifecycleHandler

Inherits:
Struct
  • Object
show all
Defined in:
lib/kward/plugins/registry.rb

Overview

Plugin-runtime callback invoked when an identified plugin starts, reloads, or shuts down.

Instance Attribute Summary collapse

Instance Attribute Details

#event ⇒ Object

Returns the value of attribute event

Returns:

  • (Object) —

    the current value of event



80
81
82
# File 'lib/kward/plugins/registry.rb', line 80

def event
  @event
end

#handler ⇒ Object

Returns the value of attribute handler

Returns:

  • (Object) —

    the current value of handler



80
81
82
# File 'lib/kward/plugins/registry.rb', line 80

def handler
  @handler
end

#host ⇒ Object

Returns the value of attribute host

Returns:

  • (Object) —

    the current value of host



80
81
82
# File 'lib/kward/plugins/registry.rb', line 80

def host
  @host
end

#path ⇒ Object

Returns the value of attribute path

Returns:

  • (Object) —

    the current value of path



80
81
82
# File 'lib/kward/plugins/registry.rb', line 80

def path
  @path
end