Class: TurnKit::LiveContextContribution
- Inherits:
-
Struct
- Object
- Struct
- TurnKit::LiveContextContribution
- Defined in:
- lib/turnkit/prompt_context.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#max_chars ⇒ Object
Returns the value of attribute max_chars.
-
#name ⇒ Object
Returns the value of attribute name.
-
#trusted ⇒ Object
Returns the value of attribute trusted.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
12 13 14 |
# File 'lib/turnkit/prompt_context.rb', line 12 def content @content end |
#max_chars ⇒ Object
Returns the value of attribute max_chars
12 13 14 |
# File 'lib/turnkit/prompt_context.rb', line 12 def max_chars @max_chars end |
#name ⇒ Object
Returns the value of attribute name
12 13 14 |
# File 'lib/turnkit/prompt_context.rb', line 12 def name @name end |
#trusted ⇒ Object
Returns the value of attribute trusted
12 13 14 |
# File 'lib/turnkit/prompt_context.rb', line 12 def trusted @trusted end |
Instance Method Details
#trusted? ⇒ Boolean
19 20 21 |
# File 'lib/turnkit/prompt_context.rb', line 19 def trusted? trusted ? true : false end |