class Vizkit::EventLoopTimerItem

Public Class Methods

new(timer,options = Hash.new) click to toggle source
Calls superclass method Vizkit::VizkitItem.new
# File lib/vizkit/vizkit_items.rb, line 1137
def initialize(timer,options = Hash.new)
    @options = Kernel.validate_options options,:item_type => :label
    if @options[:item_type] == :label
        super(timer.doc)
        add_accessor_item(timer,:single_shot,:period)
    else
        super()
    end
end