Method: ActiveStorage::Service#exist?

Defined in:
activestorage/lib/active_storage/service.rb

#exist?(key) ⇒ Boolean

Return true if a file exists at the key.

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


111
112
113
# File 'activestorage/lib/active_storage/service.rb', line 111

def exist?(key)
  raise NotImplementedError
end