Exception: FlowChat::Interrupt::Prompt
- Defined in:
- lib/flow_chat/interrupt.rb
Instance Attribute Summary collapse
-
#choices ⇒ Object
readonly
Returns the value of attribute choices.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*args, choices: nil) ⇒ Prompt
constructor
A new instance of Prompt.
Constructor Details
#initialize(*args, choices: nil) ⇒ Prompt
Returns a new instance of Prompt.
15 16 17 18 |
# File 'lib/flow_chat/interrupt.rb', line 15 def initialize(*args, choices: nil) @choices = choices super(*args) end |
Instance Attribute Details
#choices ⇒ Object (readonly)
Returns the value of attribute choices.
13 14 15 |
# File 'lib/flow_chat/interrupt.rb', line 13 def choices @choices end |