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.
82 83 84 85 |
# File 'lib/kward/tab_driver.rb', line 82 def initialize(client:, workspace_root:) @client = client @workspace_root = workspace_root end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
80 81 82 |
# File 'lib/kward/tab_driver.rb', line 80 def client @client end |
#workspace_root ⇒ Object (readonly)
Returns the value of attribute workspace_root.
80 81 82 |
# File 'lib/kward/tab_driver.rb', line 80 def workspace_root @workspace_root end |