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.
1381 1382 1383 1384 |
# File 'lib/a-tkcommons.rb', line 1381 def initialize @level = Tk.tk_call( "eval", "info patchlevel") # @level = TclTkIp.new._eval "info patchlevel" end |
Instance Attribute Details
#level ⇒ Object (readonly)
Returns the value of attribute level.
1380 1381 1382 |
# File 'lib/a-tkcommons.rb', line 1380 def level @level end |