Sha256: abc586e7ef1451f45e888bbfaee29779fb4ad8c98cb589b34d5b54ea39d22e0b

Contents?: true

Size: 619 Bytes

Versions: 1

Compression:

Stored size: 619 Bytes

Contents

#--
# Copyright (c) 2008 Jeremy Hinegardner
# All rights reserved.  See LICENSE and/or COPYING for licensingn details
#++

module Amalgalite
  # Version information for Amagalite
  module Version

    MAJOR   = 0
    MINOR   = 2
    BUILD   = 1

    #
    # return the Version as an array of MAJOR, MINOR, BUILD
    #
    def self.to_a 
      [MAJOR, MINOR, BUILD]
    end

    # return the Version as a dotted String MAJOR.MINOR.BUILD
    def self.to_s
      to_a.join(".")
    end

    # Version string constant
    STRING = Version.to_s.freeze
  end

  # Version string constant
  VERSION = Version.to_s.freeze
end 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amalgalite-0.2.1 lib/amalgalite/version.rb