Class: Jah::Admin
Constant Summary
Constants included from Command
Class Method Summary collapse
Methods included from Command
Class Method Details
.create_group(name) ⇒ Object
33 34 35 |
# File 'lib/jah/commands/admin.rb', line 33 def create_group(name) end |
.drop_user(user) ⇒ Object
23 24 25 |
# File 'lib/jah/commands/admin.rb', line 23 def drop_user(user) puts "DROP..." end |
.get_roster ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/jah/commands/admin.rb', line 13 def get_roster out = "" client.roster.grouped.each do |group, items| out << "#{'*'*3} #{group || 'Ungrouped'} #{'*'*3}\n" items.each { |item| out << "- #{item.name} (#{item.jid})\n" } out << "\n" end out end |
.join_group ⇒ Object
27 28 |
# File 'lib/jah/commands/admin.rb', line 27 def join_group() end |