Module: Steam

Defined in:
lib/steam.rb,
lib/steam/client.rb,
lib/steam/crypto.rb,
lib/steam/logger.rb,
lib/steam/server.rb,
lib/steam/handler.rb,
lib/steam/plugins.rb,
lib/steam/version.rb,
lib/steam/local_ip.rb,
lib/steam/protocol.rb,
lib/steam/emsg_util.rb,
lib/steam/networking.rb,
lib/steam/byte_reader.rb,
lib/steam/byte_writer.rb,
lib/steam/sentry_file.rb,
lib/steam/server_list.rb,
lib/steam/handler/auth.rb,
lib/steam/handler/base.rb,
lib/steam/protocol/message.rb,
lib/steam/networking/packet.rb,
lib/steam/handler/collection.rb,
lib/steam/handler/steam_apps.rb,
lib/steam/handler/steam_user.rb,
lib/steam/protocol/gc_message.rb,
lib/steam/networking/connection.rb,
lib/steam/networking/packet_list.rb,
lib/steam/protocol/client_message.rb,
lib/steam/handler/game_coordinator.rb,
lib/steam/protocol/protobuf_message.rb,
lib/steam/protocol/gc_protobuf_message.rb

Overview

Ruby access to Steam

Defined Under Namespace

Modules: Handler, Networking, Protocol Classes: ByteReader, ByteWriter, Client, Crypto, EMsgUtil, LocalIp, Logger, Plugins, SentryFile, Server, ServerList

Constant Summary collapse

MAJOR =

Major version of the gem

'0'
MINOR =

Minor version of the gem

'1'
PATCH =

Patch version of the gem

'3'
VERSION =

Current Steam gem version

[MAJOR, MINOR, PATCH].join('.')
ClientMessage =
Steam::Protocol::ClientMessage
ProtobufMessage =
Steam::Protocol::ProtobufMessage
GcMessage =
Steam::Protocol::GcMessage
GcProtobufMessage =
Steam::Protocol::GcProtobufMessage
Message =
Steam::Protocol::Message

Class Method Summary collapse

Class Method Details

.logger(io = STDOUT) ⇒ Steam::Logger

Logger object. Logs to the given IO object. Defaults to STDOUT

Parameters:

  • io (:read) (defaults to: STDOUT)

    the io stream

Returns:



41
42
43
# File 'lib/steam.rb', line 41

def self.logger(io = STDOUT)
  @logger ||= Steam::Logger.new(io)
end