Module: ActiveStorage

Extended by:
ActiveSupport::Autoload
Defined in:
activestorage/lib/active_storage.rb,
activestorage/lib/active_storage/engine.rb,
activestorage/lib/active_storage/service.rb,
activestorage/lib/active_storage/version.rb,
activestorage/lib/active_storage/attached.rb,
activestorage/lib/active_storage/gem_version.rb,
activestorage/lib/active_storage/attached/one.rb,
activestorage/lib/active_storage/attached/many.rb,
activestorage/lib/active_storage/log_subscriber.rb,
activestorage/lib/active_storage/attached/macros.rb,
activestorage/lib/active_storage/service/s3_service.rb,
activestorage/lib/active_storage/service/gcs_service.rb,
activestorage/lib/active_storage/service/configurator.rb,
activestorage/lib/active_storage/service/disk_service.rb,
activestorage/lib/active_storage/service/mirror_service.rb,
activestorage/lib/active_storage/service/azure_storage_service.rb

Defined Under Namespace

Modules: VERSION Classes: Attached, Engine, IntegrityError, LogSubscriber, Service

Class Method Summary collapse

Methods included from ActiveSupport::Autoload

autoload, autoload_at, autoload_under, autoloads, eager_autoload, eager_load!, extended

Class Method Details

.gem_versionObject

Returns the version of the currently loaded Active Storage as a Gem::Version.



5
6
7
# File 'activestorage/lib/active_storage/gem_version.rb', line 5

def self.gem_version
  Gem::Version.new VERSION::STRING
end

.versionObject

Returns the version of the currently loaded ActiveStorage as a Gem::Version



7
8
9
# File 'activestorage/lib/active_storage/version.rb', line 7

def self.version
  gem_version
end