Sha256: bd91d0c3f9613d86a464e5032331e3046fb5c8bb060079ba0582b7fe92d2c880

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activestorage-7.0.8 lib/active_storage/gem_version.rb