Class: Fzeet::Command
- Inherits:
-
Object
- Object
- Fzeet::Command
- Defined in:
- lib/fzeet/windows/user.rb
Class Method Summary collapse
Class Method Details
.[](id) ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/fzeet/windows/user.rb', line 17 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 |