Class: Fzeet::Command
- Inherits:
-
Object
- Object
- Fzeet::Command
- Defined in:
- lib/fzeet/windows/user.rb
Class Method Summary collapse
Class Method Details
.[](id) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/fzeet/windows/user.rb', line 36 def self.[](id) return id if id.kind_of?(Integer) id = id.upcase @ids[id], @nextId = @nextId, @nextId + 1 unless @ids.include?(id) @ids[id] end |