Class: Kward::PluginRegistry::Command
- Inherits:
-
Struct
- Object
- Struct
- Kward::PluginRegistry::Command
- Defined in:
- lib/kward/plugin_registry.rb
Overview
Registered slash command exposed in completion, RPC command listings, and interactive command dispatch.
Instance Attribute Summary collapse
-
#argument_hint ⇒ Object
Returns the value of attribute argument_hint.
-
#description ⇒ Object
Returns the value of attribute description.
-
#handler ⇒ Object
Returns the value of attribute handler.
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#argument_hint ⇒ Object
Returns the value of attribute argument_hint
14 15 16 |
# File 'lib/kward/plugin_registry.rb', line 14 def argument_hint @argument_hint end |
#description ⇒ Object
Returns the value of attribute description
14 15 16 |
# File 'lib/kward/plugin_registry.rb', line 14 def description @description end |
#handler ⇒ Object
Returns the value of attribute handler
14 15 16 |
# File 'lib/kward/plugin_registry.rb', line 14 def handler @handler end |
#name ⇒ Object
Returns the value of attribute name
14 15 16 |
# File 'lib/kward/plugin_registry.rb', line 14 def name @name end |
#path ⇒ Object
Returns the value of attribute path
14 15 16 |
# File 'lib/kward/plugin_registry.rb', line 14 def path @path end |
Instance Method Details
#entry ⇒ Object
15 16 17 |
# File 'lib/kward/plugin_registry.rb', line 15 def entry { name: name, description: description, argument_hint: argument_hint } end |