instance method
service_name
Ruby on Rails 5.2.8.1
Since v5.2.8.1 PrivateSignature
service_name()
No documentation comment.
Source
# File activestorage/lib/active_storage/service.rb, line 129
def service_name
# ActiveStorage::Service::DiskService => Disk
self.class.name.split("::").third.remove("Service")
end
Defined in activestorage/lib/active_storage/service.rb line 129
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service