Class: MessageFactory::Handlers::Handler
- Inherits:
-
Object
- Object
- MessageFactory::Handlers::Handler
- Defined in:
- lib/Handler.rb
Direct Known Subclasses
BadNick, Bounce, Created, Invite, Inviting, Join, Kick, LuserChannels, Mode, Names, Nick, Notice, Part, Welcome, YourHost
Instance Method Summary collapse
-
#process(data) ⇒ Object
- data
-
string of data Process string and create proper message.
-
#types_process ⇒ Object
Returns symbol or array of symbols of allowed message types.
Instance Method Details
#process(data) ⇒ Object
- data
-
string of data
Process string and create proper message
22 23 24 |
# File 'lib/Handler.rb', line 22 def process(data) raise NotImplementedError.new end |
#types_process ⇒ Object
Returns symbol or array of symbols of allowed message types
16 17 18 |
# File 'lib/Handler.rb', line 16 def types_process raise NotImplementedError.new end |