Module: Warchat
- Defined in:
- lib/warchat.rb,
lib/warchat/model.rb,
lib/warchat/timer.rb,
lib/warchat/version.rb,
lib/warchat/chat/ack.rb,
lib/warchat/srp/client.rb,
lib/warchat/byte_string.rb,
lib/warchat/chat/client.rb,
lib/warchat/chat/message.rb,
lib/warchat/models/guild.rb,
lib/warchat/chat/presence.rb,
lib/warchat/network/request.rb,
lib/warchat/network/session.rb,
lib/warchat/models/character.rb,
lib/warchat/network/response.rb,
lib/warchat/chat/chat_response.rb,
lib/warchat/network/connection.rb,
lib/warchat/network/binary_reader.rb,
lib/warchat/network/binary_writer.rb
Defined Under Namespace
Modules: Chat, Models, Network, Srp
Classes: ByteString, Model, Timer
Constant Summary
collapse
- VERSION =
"0.0.10"
Class Method Summary
collapse
Class Method Details
.debug(message) ⇒ Object
5
6
7
|
# File 'lib/warchat.rb', line 5
def self.debug message
puts message if self.debug?
end
|
.debug? ⇒ Boolean
9
10
11
|
# File 'lib/warchat.rb', line 9
def self.debug?
@debug and true or false
end
|
.enable_debug(v) ⇒ Object
13
14
15
|
# File 'lib/warchat.rb', line 13
def self.enable_debug v
@debug = v
end
|