lib/streambot.rb in streambot-0.5.0.beta4 vs lib/streambot.rb in streambot-0.5.0.beta5
- old
+ new
@@ -15,6 +15,7 @@
module StreamBot
LOG = Logger.new(STDOUT)
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
+ VERSION = ::File.exist?(PATH + 'VERSION') ? ::File.read(PATH+'VERSION') : ""
end
\ No newline at end of file