Module: BERTREM

Defined in:
lib/bertrem.rb,
lib/bertrem/mod.rb,
lib/bertrem/client.rb,
lib/bertrem/server.rb

Defined Under Namespace

Classes: Client, ConnectionError, Mod, Server, ServerError

Constant Summary collapse

VERSION =
self.version

Class Method Summary collapse

Class Method Details

.versionObject



11
12
13
14
15
# File 'lib/bertrem.rb', line 11

def self.version
  File.read(File.join(File.dirname(__FILE__), *%w[.. VERSION])).chomp
rescue
  'unknown'
end