instance method
service_name
Ruby on Rails 6.0.6
Since v5.2.8.1 Private — implementation detail, not part of the public APISignature
service_name()
No documentation comment.
Source
# File activestorage/lib/active_storage/service.rb, line 132
def service_name
# ActiveStorage::Service::DiskService => Disk
self.class.name.split("::").third.remove("Service")
end
Defined in activestorage/lib/active_storage/service.rb line 132
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service