Class: ObjiThread
- Inherits:
-
Object
- Object
- ObjiThread
- Defined in:
- ext/ae-rad/ae-rad-inspector.rb
Instance Attribute Summary collapse
-
#oi ⇒ Object
readonly
Returns the value of attribute oi.
Instance Method Summary collapse
-
#initialize(_filename = nil) ⇒ ObjiThread
constructor
A new instance of ObjiThread.
- #initialize_in_osservazione ⇒ Object
Constructor Details
#initialize(_filename = nil) ⇒ ObjiThread
Returns a new instance of ObjiThread.
1405 1406 1407 |
# File 'ext/ae-rad/ae-rad-inspector.rb', line 1405 def initialize(_filename = nil) @oi = Obji.new(_filename) end |
Instance Attribute Details
#oi ⇒ Object (readonly)
Returns the value of attribute oi.
1403 1404 1405 |
# File 'ext/ae-rad/ae-rad-inspector.rb', line 1403 def oi @oi end |
Instance Method Details
#initialize_in_osservazione ⇒ Object
1409 1410 1411 1412 1413 1414 1415 |
# File 'ext/ae-rad/ae-rad-inspector.rb', line 1409 def initialize_in_osservazione t_obji = Thread.new { print ' Thread.current = ', Thread.current,"\n" Thread.current[:oi]= Obji.new } @oi = t_obji[:oi] end |