Sha256: 38010aa21f3a6553536fe74ca7b91ad0a1bc5db53ff15d4953d9ad26092811d2

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  = 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-service-0.0.4 lib/composable/service/gem_version.rb