Sha256: 9fdcb4b99205b8e3c9feddba65231efb306e602009c51ccf19b5d494e1df5db3

Contents?: true

Size: 542 Bytes

Versions: 3

Compression:

Stored size: 542 Bytes

Contents

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

module OpenXR
  module VERSION
    FILE = File.expand_path('../../VERSION', __dir__).freeze
    STRING = File.read(FILE).chomp.freeze
    MAJOR, MINOR, TINY, 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, TINY].freeze end
  end # VERSION
end # OpenXR

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openxr-0.5.0 lib/openxr/version.rb
openxr-0.4.0 lib/openxr/version.rb
openxr-0.3.0 lib/openxr/version.rb