Exception: FlowChat::Interrupt::Base
- Inherits:
-
Exception
- Object
- Exception
- FlowChat::Interrupt::Base
- Defined in:
- lib/flow_chat/interrupt.rb
Instance Attribute Summary collapse
-
#prompt ⇒ Object
readonly
Returns the value of attribute prompt.
Instance Method Summary collapse
-
#initialize(prompt) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(prompt) ⇒ Base
Returns a new instance of Base.
6 7 8 9 |
# File 'lib/flow_chat/interrupt.rb', line 6 def initialize(prompt) @prompt = prompt super end |
Instance Attribute Details
#prompt ⇒ Object (readonly)
Returns the value of attribute prompt.
4 5 6 |
# File 'lib/flow_chat/interrupt.rb', line 4 def prompt @prompt end |