Class: MudServer::DefaultController
- Inherits:
-
AbstractController
- Object
- AbstractController
- MudServer::DefaultController
- Defined in:
- lib/default_controller.rb
Overview
This is a default implementation and entry point for all Mud activity. Override this controller in Your implementation. See AbstractController for better documentation.
Instance Attribute Summary
Attributes inherited from AbstractController
Instance Method Summary collapse
Methods inherited from AbstractController
#allowed_methods, #funny_responses, #get_text, #initialize, #interpret_command, #quit, #send_error, #send_text, #transfer_to
Constructor Details
This class inherits a constructor from MudServer::AbstractController
Instance Method Details
#on_start ⇒ Object
5 6 7 |
# File 'lib/default_controller.rb', line 5 def on_start send_text 'It works! Type `quit` to end' end |