class Circed::UserMode
- Circed::UserMode
- Reference
- Object
Defined in:
circed/channels/user_mode.crConstant Summary
-
MODE_HASH =
{"o" => "@", "h" => "%", "v" => "+"}
-
VALID_MODES =
["o", "h", "v"]
Constructors
Instance Method Summary
- #add(mode)
- #has_all_modes?(modes)
- #has_any_mode?(modes)
- #has_mode?(mode)
- #highest_mode : String
- #is_half_operator?
- #is_operator?
- #is_voiced?
- #mode : String
- #remove(mode)
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
Instance Method Detail
def to_s : String
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.