class Benelux::Track
Attributes
name[R]
rotated_timelines[R]
thread_group[R]
timeline[R]
Public Class Methods
new(n,t)
click to toggle source
# File lib/benelux/track.rb, line 9 def initialize(n,t) @name, @thgrp = n, ThreadGroup.new @timeline = t || Benelux::Timeline.new @rotated_timelines = [] end
Public Instance Methods
add_thread(t=Thread.current)
click to toggle source
# File lib/benelux/track.rb, line 14 def add_thread(t=Thread.current) @thgrp.add t t end
threads()
click to toggle source
# File lib/benelux/track.rb, line 18 def threads @thgrp.list end