Sha256: 522ca41b649800a8611330598c36377fe741c639e35f26b2bb2d3bcaac7ac72d

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

# This is free and unencumbered software released into the public domain.

module Gitstamp
  module VERSION
    FILE = File.expand_path('../../VERSION', __dir__).freeze
    STRING = File.read(FILE).chomp.freeze
    MAJOR, MINOR, PATCH, EXTRA = STRING.split('.').map(&:to_i).freeze

    ##
    # @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, PATCH].freeze end
  end # VERSION
end # Gitstamp

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitstamp-0.1.0 lib/gitstamp/version.rb