Hi, I am trying to understand why tools and prompts use inheritance, but resources don't.
For example, couldn't resources look something like this:
classExampleResource < MCP::Resourceuri"https://example.com/my_resource"name"My Resource"description"Lorem ipsum dolor sit amet"mime_type"text/html"class << selfdefcall(params:)# ...endendend
Hi, I am trying to understand why tools and prompts use inheritance, but resources don't.
For example, couldn't resources look something like this: