Module: Mooncell::Protocol
Private
- Included in:
- WebSocket
- Defined in:
- lib/mooncell/protocol.rb,
lib/mooncell/protocol/registry.rb,
lib/mooncell/protocol/websocket.rb,
lib/mooncell/protocol/websocket/server.rb
Overview
This module is part of a private API.
You should avoid using this module if possible, as it may be removed or be changed in the future.
Mooncell Network Protocol
Defined Under Namespace
Classes: Registry, WebSocket
Class Method Summary
collapse
Class Method Details
.get(name) ⇒ Object
This method is part of a private API.
You should avoid using this method if possible, as it may be removed or be changed in the future.
23
24
25
|
# File 'lib/mooncell/protocol.rb', line 23
def get(name)
Registry.lookup(name)
end
|
.included(base) ⇒ Object
This method is part of a private API.
You should avoid using this method if possible, as it may be removed or be changed in the future.
16
17
18
19
|
# File 'lib/mooncell/protocol.rb', line 16
def included(base)
super
Registry.register(base)
end
|