Module: BERTRPC

Defined in:
lib/bertrpc.rb,
lib/bertrpc/mod.rb,
lib/bertrpc/action.rb,
lib/bertrpc/errors.rb,
lib/bertrpc/encodes.rb,
lib/bertrpc/request.rb,
lib/bertrpc/service.rb

Defined Under Namespace

Modules: Encodes Classes: Action, BERTRPCError, ConnectionError, InvalidOption, Mod, ProtocolError, ProxyError, ReadError, ReadTimeoutError, RemoteError, Request, ServerError, Service, UserError

Constant Summary collapse

VERSION =
self.version

Class Method Summary collapse

Class Method Details

.versionObject


13
14
15
16
17
# File 'lib/bertrpc.rb', line 13

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