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.
1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 |
# File 'lib/a-tkcommons.rb', line 1896 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.
1895 1896 1897 |
# File 'lib/a-tkcommons.rb', line 1895 def level @level end |