Sha256: d7d2707c5d715ca040efad887c6162c2d1aaf7c27248270c9e2e0ff8251e80ab

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

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

  module VERSION
    MAJOR = 5
    MINOR = 2
    TINY  = 3
    PRE   = nil

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
spiral_form-0.1.1 vendor/bundle/gems/activestorage-5.2.3/lib/active_storage/gem_version.rb
spiral_form-0.1.0 vendor/bundle/gems/activestorage-5.2.3/lib/active_storage/gem_version.rb
activestorage-5.2.3 lib/active_storage/gem_version.rb