Sha256: 147c37885daf780fe172b9ebd2f15da53c341cda9e383ff8803a4eb7bcc391eb
Contents?: true
Size: 328 Bytes
Versions: 7
Compression:
Stored size: 328 Bytes
Contents
module Sbuilder def self.version File.readlines( File.join File.dirname( __FILE__ ), "../../VERSION" ).first.gsub( /\n/, "" ) end def self.model_version return File.readlines( "VERSION" ).first.gsub( /\n/, "" ) if File.exist?( "VERSION" ) return "Model version file #{Dir.pwd}/VERSION not found" end end
Version data entries
7 entries across 7 versions & 1 rubygems