Class: WinGUI::ID
- Inherits:
-
Object
- Object
- WinGUI::ID
- Defined in:
- lib/ffi-wingui-core/user32.rb
Class Method Summary collapse
Class Method Details
.[](key) ⇒ Object
1511 1512 1513 1514 1515 |
# File 'lib/ffi-wingui-core/user32.rb', line 1511 def [](key) (id = fetch(key, nil)) ? id : self[key] = @last += 1 end |