Module: ActiveStorage
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/active_storage.rb,
lib/active_storage/engine.rb,
lib/active_storage/version.rb,
lib/active_storage/gem_version.rb,
app/helpers/active_storage/file_field_with_direct_upload_helper.rb
Defined Under Namespace
Modules: FileFieldWithDirectUploadHelper, Patches, VERSION Classes: Attached, Attachment, Blob, BlobsController, DirectUploadsController, DiskController, Engine, Filename, IntegrityError, LogSubscriber, PurgeAttachmentWorker, PurgeBlobWorker, Service, Variant, VariantsController, Variation, Verifier
Class Method Summary collapse
-
.gem_version ⇒ Object
Returns the version of the currently loaded Active Storage as a
Gem::Version
. -
.version ⇒ Object
Returns the version of the currently loaded ActiveStorage as a
Gem::Version
.
Class Method Details
.gem_version ⇒ Object
Returns the version of the currently loaded Active Storage as a Gem::Version
3 4 5 |
# File 'lib/active_storage/gem_version.rb', line 3 def self.gem_version Gem::Version.new VERSION::STRING end |
.version ⇒ Object
Returns the version of the currently loaded ActiveStorage as a Gem::Version
5 6 7 |
# File 'lib/active_storage/version.rb', line 5 def self.version gem_version end |