Class: TclTkInfo
- Inherits:
-
Object
- Object
- TclTkInfo
- Defined in:
- lib/a-tkcommons.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
readonly
Returns the value of attribute level.
Instance Method Summary collapse
-
#initialize ⇒ TclTkInfo
constructor
A new instance of TclTkInfo.
Constructor Details
#initialize ⇒ TclTkInfo
Returns a new instance of TclTkInfo.
2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 |
# File 'lib/a-tkcommons.rb', line 2172 def initialize @level = Tk.tk_call( "eval", "info patchlevel") # info args procname # info body procname # info cmdcount # info commands ?pattern? # info complete command # info default procname arg varname # info exists varName # info globals ?pattern? # info hostname # info level ?number? # info library # info loaded ?interp? # info locals ?pattern? # info nameofexecutable # info patchlevel # info procs ?pattern? # info script # info sharedlibextension # info tclversion # info vars ?pattern? end |
Instance Attribute Details
#level ⇒ Object (readonly)
Returns the value of attribute level.
2171 2172 2173 |
# File 'lib/a-tkcommons.rb', line 2171 def level @level end |