Sha256: a7c9bb24d8185b2fd485bc1068c8361fa9a5bf1e7aa6fedd2685b05dc370a621

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

module Composable
  module Core
    # Returns the currently-loaded version of Composable::Core as a <tt>Gem::Version</tt>.
    def self.gem_version
      Gem::Version.new VERSION::STRING
    end

    module VERSION
      MAJOR = 0
      MINOR = 0
      TINY  = 10
      PRE   = nil

      STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
composable-core-0.0.10 lib/composable/core/gem_version.rb