Sha256: 9fad8dbdd40480242b551d278eec47eee75f5c9dc2994b9c8ec8d5c1604653de

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  = 6
      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.6 lib/composable/core/gem_version.rb