Sha256: bd94dc45a3de5b488ab5f6bbc96b56f4c138a253b397f54c0b1f165d3f1eba67

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 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  = 4
      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.4 lib/composable/core/gem_version.rb