Skip to content
Kward Search API index

Class: Kward::PluginTabHost

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#clientObject (readonly)

Returns the value of attribute client.



83
84
85
# File 'lib/kward/tab_driver.rb', line 83

def client
  @client
end

#workspace_rootObject (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