Method: MCP::Resource::TextContents#text

Defined in:
lib/mcp/resource/contents.rb

#textObject (readonly)

Returns the value of attribute text.



19
20
21
# File 'lib/mcp/resource/contents.rb', line 19

def text
  @text
end