Sha256: 3da23eb22e12c0f732f12ef2d9389a1bed7de884e6b3c44e1f2da8f00f819e48

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 = 7
    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.7.0 lib/smart_cloud/gem_version.rb