Sha256: ba315640fe8ce9ada94be9f30240418f7e77c3727b628644aab1d30af7492724

Contents?: true

Size: 464 Bytes

Versions: 17

Compression:

Stored size: 464 Bytes

Contents

module SXP
  module VERSION
    VERSION_FILE = File.expand_path("../../../VERSION", __FILE__)
    MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chop.split(".")

    STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.')

    ##
    # @return [String]
    def self.to_s() STRING end

    ##
    # @return [String]
    def self.to_str() STRING end

    ##
    # @return [Array(Integer, Integer, Integer)]
    def self.to_a() [MAJOR, MINOR, TINY] end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sxp-2.0.0 lib/sxp/version.rb
sxp-1.3.0 lib/sxp/version.rb
sxp-1.2.4 lib/sxp/version.rb
sxp-1.2.3 lib/sxp/version.rb
sxp-1.2.2 lib/sxp/version.rb
sxp-1.2.1 lib/sxp/version.rb
sxp-1.2.0 lib/sxp/version.rb
sxp-1.1.0 lib/sxp/version.rb
sxp-1.0.2 lib/sxp/version.rb
sxp-1.0.1 lib/sxp/version.rb
sxp-1.0.0 lib/sxp/version.rb
sxp-1.0.0.beta1 lib/sxp/version.rb
sxp-0.1.5 lib/sxp/version.rb
sxp-0.1.4 lib/sxp/version.rb
sxp-0.1.3 lib/sxp/version.rb
sxp-0.1.2 lib/sxp/version.rb
sxp-0.1.0 lib/sxp/version.rb