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 Delegator

included, #method_missing, #respond_to_missing?

Methods included from Utils

#_, #_!

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::Delegator

Instance Method Details

#to_tclObject



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

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

#valueObject



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

def value
  _!(:set, name)
end