Method: TkNamespace.current
- Defined in:
- ext/lib/tk/namespace.rb
.current ⇒ Object
365 366 367 368 369 370 371 372 373 374 |
# File 'ext/lib/tk/namespace.rb', line 365 def self.current ns = self.current_path Tk_Namespace_ID_TBL.mutex.synchronize{ if Tk_Namespace_ID_TBL.key?(ns) Tk_Namespace_ID_TBL[ns] else ns end } end |