Sha256: 1c5fef2b52c0c11f9ee4dbb405fb589a7363c49eea202ba1762a16914f994509

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smartcloud-0.8.0 lib/smart_cloud/gem_version.rb