lib/standup.rb in standup-0.3.4 vs lib/standup.rb in standup-0.3.5
- old
+ new
@@ -58,6 +58,10 @@
script_class = Class.new(superclass, &block)
script_class.name = name
Standup::Scripts.const_set name.camelize, script_class
scripts[name] = script_class
end
+
+ def self.version
+ File.read(File.expand_path('../../VERSION', __FILE__)).strip
+ end
end
\ No newline at end of file