Class: MethodsListTool
- Defined in:
- lib/yardmcp.rb
Overview
Tool: List methods for a class/module
Instance Method Summary collapse
Methods inherited from YardTool
Instance Method Details
#call(path:, gem_name: nil) ⇒ Object
718 719 720 721 722 723 |
# File 'lib/yardmcp.rb', line 718 def call(path:, gem_name: nil) with_yard_errors do methods = YardUtils.instance.methods_list(path, gem_name) ok({ path:, gem_name:, resource_uris: resource_uris(gem_name, path), methods: }, text: methods.join("\n")) end end |