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