Parent

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_tags(args=Selectable::Tags.new) click to toggle source
# File lib/benelux/track.rb, line 21
def add_tags(args=Selectable::Tags.new)
  timeline.add_default_tags args
end
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
remove_tags(*args) click to toggle source
# File lib/benelux/track.rb, line 24
def remove_tags(*args)
  timeline.remove_default_tags *args
end
threads() click to toggle source
# File lib/benelux/track.rb, line 18
def threads
  @thgrp.list
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.