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