Class: Irc::Bot::MessageMapper::FriendlyFailure
- Defined in:
- lib/rbot/messagemapper.rb
Overview
failures with a friendly message
Direct Known Subclasses
Constant Summary
Constants inherited from Failure
Irc::Bot::MessageMapper::Failure::FRIENDLY, Irc::Bot::MessageMapper::Failure::STRING
Instance Attribute Summary
Attributes inherited from Failure
Instance Method Summary collapse
Methods inherited from Failure
Constructor Details
This class inherits a constructor from Irc::Bot::MessageMapper::Failure
Instance Method Details
#friendly ⇒ Object
78 79 80 |
# File 'lib/rbot/messagemapper.rb', line 78 def friendly self.class::FRIENDLY rescue FRIENDLY end |