class method
self.new
Ruby on Rails 8.1.2
Since v5.2.8.1Signature
self.new(root:, public: false, **options)
No documentation comment.
Parameters
-
rootkeyreq -
publickey = false -
optionskeyrest
Source
# File activestorage/lib/active_storage/service/disk_service.rb, line 16
def initialize(root:, public: false, **options)
@root = root
@public = public
end
Defined in activestorage/lib/active_storage/service/disk_service.rb line 16
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service::DiskService