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.
1269 1270 1271 1272 |
# File 'ext/lib/tk.rb', line 1269 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
1276 1277 1278 |
# File 'ext/lib/tk.rb', line 1276 def method_missing(m, *args, &b) TkCore::INTERP.tk_object_table(@id).__send__(m, *args, &b) end |
Instance Method Details
#mutex ⇒ Object
1273 1274 1275 |
# File 'ext/lib/tk.rb', line 1273 def mutex @mutex end |