Module: ActiveStorage

Extended by:
ActiveSupport::Autoload
Defined in:
lib/active_storage.rb,
lib/active_storage/engine.rb,
lib/active_storage/errors.rb,
lib/active_storage/service.rb,
lib/active_storage/version.rb,
lib/active_storage/analyzer.rb,
lib/active_storage/attached.rb,
lib/active_storage/previewer.rb,
lib/active_storage/downloading.rb,
lib/active_storage/gem_version.rb,
lib/active_storage/attached/one.rb,
lib/active_storage/attached/many.rb,
lib/active_storage/log_subscriber.rb,
lib/active_storage/attached/macros.rb,
lib/active_storage/service/s3_service.rb,
lib/active_storage/service/gcs_service.rb,
lib/active_storage/service/configurator.rb,
lib/active_storage/service/disk_service.rb,
lib/active_storage/analyzer/null_analyzer.rb,
lib/active_storage/service/mirror_service.rb,
lib/active_storage/analyzer/image_analyzer.rb,
lib/active_storage/analyzer/video_analyzer.rb,
lib/active_storage/previewer/mupdf_previewer.rb,
lib/active_storage/previewer/video_previewer.rb,
lib/active_storage/service/azure_storage_service.rb,
lib/active_storage/previewer/poppler_pdf_previewer.rb

Defined Under Namespace

Modules: Downloading, SetBlob, VERSION Classes: AnalyzeJob, Analyzer, Attached, Attachment, BaseController, BaseJob, Blob, BlobsController, Current, DirectUploadsController, DiskController, Engine, Filename, IntegrityError, InvariableError, LogSubscriber, Preview, Previewer, PurgeJob, RepresentationsController, Service, UnpreviewableError, UnrepresentableError, Variant, Variation

Class Method Summary collapse

Class Method Details

.gem_versionObject

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



5
6
7
# File '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 'lib/active_storage/version.rb', line 7

def self.version
  gem_version
end