Class: TkCore::Tk_OBJECT_TABLE
Instance Method Summary collapse
-
#initialize(id) ⇒ Tk_OBJECT_TABLE
constructor
A new instance of Tk_OBJECT_TABLE.
- #method_missing(m, *args, &b) ⇒ Object
- #mutex ⇒ Object
Constructor Details
#initialize(id) ⇒ Tk_OBJECT_TABLE
Returns a new instance of Tk_OBJECT_TABLE.
1355 1356 1357 1358 |
# File 'lib/tk.rb', line 1355 def initialize(id) @id = id @mutex = Mutex.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &b) ⇒ Object
1362 1363 1364 |
# File 'lib/tk.rb', line 1362 def method_missing(m, *args, &b) TkCore::INTERP.tk_object_table(@id).__send__(m, *args, &b) end |
Instance Method Details
#mutex ⇒ Object
1359 1360 1361 |
# File 'lib/tk.rb', line 1359 def mutex @mutex end |