lib/bertrpc.rb in bertrpc-1.1.1 vs lib/bertrpc.rb in bertrpc-1.1.2

- old
+ new

@@ -6,6 +6,15 @@ require 'bertrpc/request' require 'bertrpc/mod' require 'bertrpc/encodes' require 'bertrpc/action' require 'bertrpc/errors' -require 'bertrpc/buffered_io' + +module BERTRPC + def self.version + File.read(File.join(File.dirname(__FILE__), *%w[.. VERSION])).chomp + rescue + 'unknown' + end + + VERSION = self.version +end \ No newline at end of file