Module: Genesis::Server
- Included in:
- Echo::Server, Http::Server, Genesis::Snmp::Server
- Defined in:
- lib/genesis/server.rb
Overview
Abstract base class for all servers
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#handle_routes ⇒ Object
Returns the value of attribute handle_routes.
Class Method Summary collapse
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel.
6 7 8 |
# File 'lib/genesis/server.rb', line 6 def channel @channel end |
#handle_routes ⇒ Object
Returns the value of attribute handle_routes.
6 7 8 |
# File 'lib/genesis/server.rb', line 6 def handle_routes @handle_routes end |
Class Method Details
.included(base) ⇒ Object
8 9 10 |
# File 'lib/genesis/server.rb', line 8 def self.included(base) base.extend ClassMethods end |