Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/multi-tk.rb

Parent

Class/Module Index [+]

Quicksearch

MultiTkIp::Command_Queue

Public Class Methods

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

Public Instance Methods

<<(value) click to toggle source
Alias for: push
close() click to toggle source
 
               # File tk/lib/multi-tk.rb, line 78
def close
  @interp = nil
end
            
enq(value) click to toggle source
Alias for: push
push(value) click to toggle source
 
               # File tk/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