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 65
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 79
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 70
def push(value)
  if !@interp || @interp.deleted?
    fail RuntimeError, "Tk interpreter is already deleted"
  end
  super(value)
end
            
Also aliased as: <<, enq

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.