Exception: RubyJard::ReplProxy::FlowInterrupt

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby_jard/repl_proxy.rb

Overview

A tool to communicate between functional threads and main threads

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = '', flow = nil) ⇒ FlowInterrupt

Returns a new instance of FlowInterrupt.



61
62
63
64
# File 'lib/ruby_jard/repl_proxy.rb', line 61

def initialize(msg = '', flow = nil)
  super(msg)
  @flow = flow
end

Instance Attribute Details

#flowObject (readonly)

Returns the value of attribute flow.



59
60
61
# File 'lib/ruby_jard/repl_proxy.rb', line 59

def flow
  @flow
end