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.
49 50 51 52 |
# File 'lib/multi-tk.rb', line 49 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
54 55 56 |
# File 'lib/multi-tk.rb', line 54 def return_value @return_value end |
Class Method Details
.send(thread, ret = nil) ⇒ Object
45 46 47 |
# File 'lib/multi-tk.rb', line 45 def self.send(thread, ret=nil) thread.raise self.new(ret) end |