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

Class Method Summary collapse

Instance Attribute Details

#channelObject

Returns the value of attribute channel.



6
7
8
# File 'lib/genesis/server.rb', line 6

def channel
  @channel
end

#handle_routesObject

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