Add a stub to make type checkers happy
This commit is contained in:
parent
60279f0b4e
commit
ef56b3ff74
@ -4,9 +4,15 @@ require_relative "mcp/version"
|
||||
|
||||
module Mcp
|
||||
class Error < StandardError; end
|
||||
|
||||
class ClientDisconnectedError < Error; end
|
||||
|
||||
class Client
|
||||
def initialize(command, args)
|
||||
# This is implemented in rust
|
||||
raise NotImplementedError
|
||||
end
|
||||
|
||||
def tools
|
||||
ToolsProxy.new(self)
|
||||
end
|
||||
@ -20,8 +26,7 @@ module Mcp
|
||||
|
||||
private
|
||||
|
||||
def respond_to_missing?(name, include_private = false)
|
||||
end
|
||||
def respond_to_missing?(name, include_private = false) end
|
||||
|
||||
def method_missing(name, **kwargs)
|
||||
@client.call_tool(name.to_s, kwargs)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user