Class: Tcl::ArrayVar

Inherits:
Var
  • Object
show all
Defined in:
lib/tcl/var.rb

Constant Summary

Constants inherited from Var

Var::BUILTINS

Instance Attribute Summary

Attributes inherited from Var

#name

Instance Method Summary collapse

Methods inherited from Var

#builtin?, find, #initialize

Methods included from InterpHelper

#_, #_!, included, #method_missing

Constructor Details

This class inherits a constructor from Tcl::Var

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Tcl::InterpHelper

Instance Method Details

#to_tclObject



50
51
52
# File 'lib/tcl/var.rb', line 50

def to_tcl
  _(:array, :set, name, value)
end

#valueObject



46
47
48
# File 'lib/tcl/var.rb', line 46

def value
  _!(:array, :get, name)
end