Sha256: 90fc1df8b4e68dbadf069a6a0dd4db389c98b6e4829f82c00b68927af4a381f1
Contents?: true
Size: 743 Bytes
Versions: 4
Compression:
Stored size: 743 Bytes
Contents
# Author:: Eric Crane (mailto:eric.crane@mac.com) # Copyright:: Copyright (c) 2019 Eric Crane. All rights reserved. # # Application information such as Version and public name. # module Gloo module App class Info # # Load the version from the VERSION file. # def self.get_version f = File.dirname( File.absolute_path( __FILE__ ) ) f = File.dirname( File.dirname( f ) ) f = File.join( f, 'VERSION' ) return File.read( f ) end VERSION = Gloo::App::Info.get_version APP_NAME = 'Gloo'.freeze # # Get the application display title. # def self.display_title return "#{APP_NAME}, version #{VERSION}" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gloo-0.8.0 | lib/gloo/app/info.rb |
gloo-0.7.7 | lib/gloo/app/info.rb |
gloo-0.7.6 | lib/gloo/app/info.rb |
gloo-0.7.5 | lib/gloo/app/info.rb |