Method: TkNamespace.current
- Defined in:
- lib/tk/namespace.rb
.current ⇒ Object
350 351 352 353 354 355 356 357 358 359 |
# File 'lib/tk/namespace.rb', line 350 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 |