Class: RelatedObjectsTool
- Defined in:
- lib/yardmcp.rb
Overview
Tool: List related objects: included modules, mixins, and subclasses for a class/module in YARD
Instance Method Summary collapse
Methods inherited from YardTool
Instance Method Details
#call(path:, gem_name: nil) ⇒ Object
829 830 831 832 833 834 |
# File 'lib/yardmcp.rb', line 829 def call(path:, gem_name: nil) with_yard_errors do = YardUtils.instance.(path, gem_name) ok({ path:, gem_name:, resource_uris: resource_uris(gem_name, path), related_objects: }) end end |