Class: Tcl::StringVar

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



40
41
42
# File 'lib/tcl/var.rb', line 40

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

#valueObject



36
37
38
# File 'lib/tcl/var.rb', line 36

def value
  _!(:set, name)
end