Sha256: 5102aac230e87a3d704a608000ceb4adf2141fa01b1739c398ff15df218f568c
Contents?: true
Size: 214 Bytes
Versions: 4
Compression:
Stored size: 214 Bytes
Contents
if @username != 'admin' $stderr.puts "You don't have permission to do that" exit 3 end Dir.entries(Hubbard::ACCOUNTS_PATH)).each do |account| next if account == '.' || account == '..' puts account end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hubbard-0.0.13 | commands/list-users.rb |
hubbard-0.0.12 | commands/list-users.rb |
hubbard-0.0.11 | commands/list-users.rb |
hubbard-0.0.10 | commands/list-users.rb |