Exception: MultiTkIp_OK
Overview
exceptiopn to treat the return value from IP
Instance Attribute Summary collapse
-
#return_value ⇒ Object
(also: #value)
readonly
Returns the value of attribute return_value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ret = nil) ⇒ MultiTkIp_OK
constructor
A new instance of MultiTkIp_OK.
Constructor Details
#initialize(ret = nil) ⇒ MultiTkIp_OK
Returns a new instance of MultiTkIp_OK.
107 108 109 110 |
# File 'ext/lib/multi-tk.rb', line 107 def initialize(ret=nil) super('succeed') @return_value = ret end |
Instance Attribute Details
#return_value ⇒ Object (readonly) Also known as: value
Returns the value of attribute return_value.
112 113 114 |
# File 'ext/lib/multi-tk.rb', line 112 def return_value @return_value end |
Class Method Details
.send(thread, ret = nil) ⇒ Object
103 104 105 |
# File 'ext/lib/multi-tk.rb', line 103 def self.send(thread, ret=nil) thread.raise self.new(ret) end |