templates/ruby/src/lib/__lower__/version.rb in noe-1.5.0 vs templates/ruby/src/lib/__lower__/version.rb in noe-1.5.1

- old
+ new

@@ -1,14 +1,14 @@ module !{upper} module Version - + MAJOR = +{version.split('.')[0].to_i} MINOR = +{version.split('.')[1].to_i} TINY = +{version.split('.')[2].to_i} - + def self.to_s [ MAJOR, MINOR, TINY ].join('.') end - - end + + end VERSION = Version.to_s end