Class: Kward::PluginTabHost
- Inherits:
-
Object
- Object
- Kward::PluginTabHost
- Defined in:
- lib/kward/tab_driver.rb
Overview
Dependencies made available to a plugin tab factory. The host deliberately exposes provider transport and frontend-neutral facts, not CLI internals or workspace session state.
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#workspace_root ⇒ Object
readonly
Returns the value of attribute workspace_root.
Instance Method Summary collapse
-
#initialize(client:, workspace_root:) ⇒ PluginTabHost
constructor
A new instance of PluginTabHost.
Constructor Details
#initialize(client:, workspace_root:) ⇒ PluginTabHost
Returns a new instance of PluginTabHost.
85 86 87 88 |
# File 'lib/kward/tab_driver.rb', line 85 def initialize(client:, workspace_root:) @client = client @workspace_root = workspace_root end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
83 84 85 |
# File 'lib/kward/tab_driver.rb', line 83 def client @client end |
#workspace_root ⇒ Object (readonly)
Returns the value of attribute workspace_root.
83 84 85 |
# File 'lib/kward/tab_driver.rb', line 83 def workspace_root @workspace_root end |