Class: ObjiThread

Inherits:
Object
  • Object
show all
Defined in:
ext/ae-rad/ae-rad-inspector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#oiObject (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_osservazioneObject



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