Class: Brute::PromptTemplate::Result
- Inherits:
-
Struct
- Object
- Struct
- Brute::PromptTemplate::Result
- Defined in:
- lib/brute/prompt_template.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text
29 30 31 |
# File 'lib/brute/prompt_template.rb', line 29 def text @text end |
Instance Method Details
#empty? ⇒ Boolean
31 |
# File 'lib/brute/prompt_template.rb', line 31 def empty? = text.to_s.strip.empty? |
#to_s ⇒ Object
30 |
# File 'lib/brute/prompt_template.rb', line 30 def to_s = text.to_s |