Attributes
name | [R] | |
rotated_timelines | [R] | |
thread_group | [R] | |
timeline | [R] |
Public class methods
new
(n,t)
[show source]
# File lib/benelux/track.rb, line 9 9: def initialize(n,t) 10: @name, @thgrp = n, ThreadGroup.new 11: @timeline = t || Benelux::Timeline.new 12: @rotated_timelines = [] 13: end
Public instance methods
add_tags
(args=Selectable::Tags.new)
[show source]
# File lib/benelux/track.rb, line 21 21: def add_tags(args=Selectable::Tags.new) 22: timeline.add_default_tags args 23: end
add_thread
(t=Thread.current)
[show source]
# File lib/benelux/track.rb, line 14 14: def add_thread(t=Thread.current) 15: @thgrp.add t 16: t 17: end
remove_tags
(*args)
[show source]
# File lib/benelux/track.rb, line 24 24: def remove_tags(*args) 25: timeline.remove_default_tags *args 26: end
threads
()
[show source]
# File lib/benelux/track.rb, line 18 18: def threads 19: @thgrp.list 20: end