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

In Files

  • tk/lib/tk/namespace.rb

Parent

Included Modules

Class/Module Index [+]

Quicksearch

TkNamespace::ScopeArgs

Public Class Methods

new(namespace, *args) click to toggle source
 
               # File tk/lib/tk/namespace.rb, line 179
def initialize(namespace, *args)
  @namespace = namespace
  super(args.size)
  self.replace(args)
end
            

Public Instance Methods

tk_call(*args) click to toggle source

alias __tk_call #tk_call alias __tk_call_without_enc #tk_call_without_enc alias __tk_call_with_enc #tk_call_with_enc

 
               # File tk/lib/tk/namespace.rb, line 160
def tk_call(*args)
  #super('namespace', 'eval', @namespace, *args)
  args = args.collect{|arg| (s = _get_eval_string(arg, true))? s: ''}
  super('namespace', 'eval', @namespace,
        TkCore::INTERP._merge_tklist(*args))
end
            
tk_call_with_enc(*args) click to toggle source
 
               # File tk/lib/tk/namespace.rb, line 172
def tk_call_with_enc(*args)
  #super('namespace', 'eval', @namespace, *args)
  args = args.collect{|arg| (s = _get_eval_string(arg, true))? s: ''}
  super('namespace', 'eval', @namespace,
        TkCore::INTERP._merge_tklist(*args))
end
            
tk_call_without_enc(*args) click to toggle source
 
               # File tk/lib/tk/namespace.rb, line 166
def tk_call_without_enc(*args)
  #super('namespace', 'eval', @namespace, *args)
  args = args.collect{|arg| (s = _get_eval_string(arg, true))? s: ''}
  super('namespace', 'eval', @namespace,
        TkCore::INTERP._merge_tklist(*args))
end
            

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.