class MultiTkIp::Command_Queue

Public Class Methods

new(interp) click to toggle source
Calls superclass method Queue.new
# File rake/lib/multi-tk.rb, line 64
def initialize(interp)
  @interp = interp
  super()
end

Public Instance Methods

<<(value)
Alias for: push
close() click to toggle source
# File rake/lib/multi-tk.rb, line 78
def close
  @interp = nil
end
enq(value)
Alias for: push
push(value) click to toggle source
Calls superclass method Queue#push
# File rake/lib/multi-tk.rb, line 69
def push(value)
  if !@interp || @interp.deleted?
    fail RuntimeError, "Tk interpreter is already deleted"
  end
  super(value)
end
Also aliased as: <<, enq