Class: Pkg_noisrev::MyThread

Inherits:
Thread
  • Object
show all
Defined in:
lib/pkg_noisrev/threads.rb

Defined Under Namespace

Classes: Stat

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*var, n) ⇒ MyThread

n – thread number



93
94
95
96
# File 'lib/pkg_noisrev/threads.rb', line 93

def initialize(*var, n)
  @stat = Stat.new(n)
  super(*var)
end

Instance Attribute Details

#statObject

Returns the value of attribute stat.



90
91
92
# File 'lib/pkg_noisrev/threads.rb', line 90

def stat
  @stat
end