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.



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

#clientObject (readonly)

Returns the value of attribute client.



80
81
82
# File 'lib/kward/tab_driver.rb', line 80

def client
  @client
end

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