Skip to content
Kward Search API index

Class: Kward::PluginRegistry::StartupOption

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

Overview

A plugin-owned top-level mode selected by a declared CLI switch.

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ Object

Returns the value of attribute description

Returns:

  • (Object) —

    the current value of description



37
38
39
# File 'lib/kward/plugins/registry.rb', line 37

def description
  @description
end

#handler ⇒ Object

Returns the value of attribute handler

Returns:

  • (Object) —

    the current value of handler



37
38
39
# File 'lib/kward/plugins/registry.rb', line 37

def handler
  @handler
end

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



37
38
39
# File 'lib/kward/plugins/registry.rb', line 37

def name
  @name
end

#path ⇒ Object

Returns the value of attribute path

Returns:

  • (Object) —

    the current value of path



37
38
39
# File 'lib/kward/plugins/registry.rb', line 37

def path
  @path
end

#plugin_id ⇒ Object

Returns the value of attribute plugin_id

Returns:

  • (Object) —

    the current value of plugin_id



37
38
39
# File 'lib/kward/plugins/registry.rb', line 37

def plugin_id
  @plugin_id
end