Sha256: 601e2e479a29208435c66a95b1406260ba151e3ba69eff6d1cb8b8d87c520e3a

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

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

    module VERSION
      MAJOR = 0
      MINOR = 0
      TINY  = 9
      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-service-0.0.9 lib/composable/service/gem_version.rb