Sha256: a69a681fa1e51b09495b2cb08aeb6f02a255b79af0e750bc31e4baab4fc70eb4
Contents?: true
Size: 786 Bytes
Versions: 19
Compression:
Stored size: 786 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. # require 'gloo-lang' module Gloo module App class Info < GlooLang::App::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
19 entries across 19 versions & 1 rubygems