Class Irc::Bot::Auth::PermissionSet
In: lib/rbot/botuser.rb
Parent: Object

This class describes a permission set

Methods

Attributes

perm  [R] 

Public Class methods

Create a new (empty) PermissionSet

Public Instance methods

Inspection simply inspects the internal hash

Tells if command cmd is permitted. We do this by returning the value of the deepest Command#path that matches.

Resets the permission for command cmd

Sets the permission for command cmd to val,

[Validate]