Module Irc::ServerOrCasemap
In: lib/rbot/irc.rb

This module is included by all classes that are either bound to a server or should have a casemap.

Methods

Attributes

server  [R] 

Public Instance methods

Returns the casemap of the receiver, by looking at the bound @server (if possible) or at the @casemap otherwise

Up/downcasing something that includes this module returns its Up/downcased to_s form

This is an auxiliary method: it returns true if the receiver fits the server and casemap specified in opts, false otherwise.

This method initializes the instance variables @server and @casemap according to the values of the hash keys :server and :casemap in opts

We allow up/downcasing with a different casemap

We allow up/downcasing with a different casemap

Returns a hash with the current @server and @casemap as values of :server and :casemap

Up/downcasing something that includes this module returns its Up/downcased to_s form

[Validate]