Class: MultiTkIp::Command_Queue (Ruby 2.3.4)

In Files

  • tk/lib/multi-tk.rb

Parent

Class/Module Index [+]

Quicksearch

MultiTkIp::Command_Queue

Public Class Methods

new(interp)
 
               # File tk/lib/multi-tk.rb, line 65
def initialize(interp)
  @interp = interp
  super()
end
            

Public Instance Methods

<<(value)
Alias for: push
close()
 
               # File tk/lib/multi-tk.rb, line 79
def close
  @interp = nil
end
            
enq(value)
Alias for: push
push(value)
 
               # File tk/lib/multi-tk.rb, line 70
def push(value)
  if !@interp || @interp.deleted?
    fail RuntimeError, "Tk interpreter is already deleted"
  end
  super(value)
end
            
Also aliased as: <<, enq