Class: TclTkObject
Overview
class TclTkObject: base class of the tcl/tk objects
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(ip, exp) ⇒ TclTkObject
constructor
initialize(ip, exp): ip: interpreter(TclTkIp) exp: tcl/tk representation.
-
#to_s ⇒ Object
to_s(): returns tcl/tk representation.
Constructor Details
#initialize(ip, exp) ⇒ TclTkObject
initialize(ip, exp):
ip: interpreter(TclTkIp)
exp: tcl/tk representation
188 189 190 191 192 |
# File 'lib/tcltk.rb', line 188 def initialize(ip, exp) fail("type is not TclTkIp") if !ip.kind_of?(TclTkIp) @ip = ip @exp = exp end |
Instance Method Details
#to_s ⇒ Object
to_s(): returns tcl/tk representation
195 196 197 |
# File 'lib/tcltk.rb', line 195 def to_s() return @exp end |