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 180
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 161
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 173
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 167
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.