Class: Manceps::Prompt
- Inherits:
-
Object
- Object
- Manceps::Prompt
- Defined in:
- lib/manceps/prompt.rb
Overview
An MCP prompt definition.
Defined Under Namespace
Classes: Argument
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(data) ⇒ Prompt
constructor
A new instance of Prompt.
Constructor Details
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
6 7 8 |
# File 'lib/manceps/prompt.rb', line 6 def arguments @arguments end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
6 7 8 |
# File 'lib/manceps/prompt.rb', line 6 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/manceps/prompt.rb', line 6 def name @name end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
6 7 8 |
# File 'lib/manceps/prompt.rb', line 6 def title @title end |