Module: CarbonMU
- Defined in:
- lib/carbonmu/commands/locale_command.rb,
lib/carbonmu.rb,
lib/carbonmu/cli.rb,
lib/carbonmu/parser.rb,
lib/carbonmu/server.rb,
lib/carbonmu/command.rb,
lib/carbonmu/version.rb,
lib/carbonmu/connection.rb,
lib/carbonmu/game_object.rb,
lib/carbonmu/configuration.rb,
lib/carbonmu/command_context.rb,
lib/carbonmu/ipc/ipc_message.rb,
lib/carbonmu/ipc/read_socket.rb,
lib/carbonmu/ipc/write_socket.rb,
lib/carbonmu/game_objects/exit.rb,
lib/carbonmu/game_objects/room.rb,
lib/carbonmu/game_objects/thing.rb,
lib/carbonmu/game_objects/player.rb,
lib/carbonmu/interactions/notify.rb,
lib/carbonmu/commands/say_command.rb,
lib/carbonmu/game_objects/movable.rb,
lib/carbonmu/internationalization.rb,
lib/carbonmu/commands/ping_command.rb,
lib/carbonmu/ipc/carbon_ipc_socket.rb,
lib/carbonmu/game_objects/container.rb,
lib/carbonmu/commands/reboot_command.rb,
lib/carbonmu/edge_router/edge_router.rb,
lib/carbonmu/commands/unknown_command.rb,
lib/carbonmu/server_supervision_group.rb,
lib/carbonmu/edge_router/edge_connection.rb,
lib/carbonmu/edge_router/telnet_receptor.rb,
lib/carbonmu/edge_router/telnet_connection.rb,
lib/carbonmu/edge_router/edge_router_supervision_group.rb
Overview
Defined Under Namespace
Modules: Container, Internationalization, Movable
Classes: CLI, CarbonIPCSocket, Command, CommandContext, Configuration, Connection, EdgeConnection, EdgeRouter, EdgeRouterSupervisionGroup, Exit, GameObject, IPCMessage, LocaleCommand, Notify, Parser, PingCommand, Player, ReadSocket, RebootCommand, Room, SayCommand, Server, ServerSupervisionGroup, TelnetConnection, TelnetReceptor, Thing, UnknownCommand, WriteSocket
Constant Summary
collapse
- VERSION_MAJOR =
0
- VERSION_MINOR =
0
- VERSION_TINY =
3
- VERSION =
"#{VERSION_MAJOR}.#{VERSION_MINOR}.#{VERSION_TINY}"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
8
9
10
|
# File 'lib/carbonmu.rb', line 8
def configuration
@configuration
end
|
.edge_router_receive_port ⇒ Object
Returns the value of attribute edge_router_receive_port.
9
10
11
|
# File 'lib/carbonmu.rb', line 9
def edge_router_receive_port
@edge_router_receive_port
end
|
.server ⇒ Object
Returns the value of attribute server.
10
11
12
|
# File 'lib/carbonmu.rb', line 10
def server
@server
end
|
Class Method Details
14
15
16
|
# File 'lib/carbonmu.rb', line 14
def self.configure
yield self.configuration
end
|
.start_in_background ⇒ Object
.start_server_in_background ⇒ Object
30
31
32
|
# File 'lib/carbonmu.rb', line 30
def self.start_server_in_background
ServerSupervisionGroup.run!
end
|