Sha256: f7850119afdfbae997630a08fd3d6c45e33dbc9c296ebf190a53eb1a0eb6f67a
Contents?: true
Size: 379 Bytes
Versions: 3
Compression:
Stored size: 379 Bytes
Contents
module FlowChat module Interrupt class Base < Exception attr_reader :prompt def initialize(prompt) @prompt = prompt super end end class Prompt < Base attr_reader :choices def initialize(*args, choices: nil) @choices = choices super(*args) end end class Terminate < Base; end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flow_chat-0.2.1 | lib/flow_chat/interrupt.rb |
flow_chat-0.2.0 | lib/flow_chat/interrupt.rb |
flow_chat-0.1.0 | lib/flow_chat/interrupt.rb |