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
187 188 189 190 191 |
# File 'lib/tcltk.rb', line 187 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
194 195 196 |
# File 'lib/tcltk.rb', line 194 def to_s() return @exp end |