Class: Paperclip::EmptyStringAdapter

Inherits:
AbstractAdapter show all
Defined in:
lib/paperclip/io_adapters/empty_string_adapter.rb

Constant Summary

Constants inherited from AbstractAdapter

AbstractAdapter::OS_RESTRICTED_CHARACTERS

Instance Attribute Summary

Attributes inherited from AbstractAdapter

#content_type, #original_filename, #size

Instance Method Summary collapse

Methods inherited from AbstractAdapter

#fingerprint, #initialize, #inspect, #read

Constructor Details

This class inherits a constructor from Paperclip::AbstractAdapter

Instance Method Details

#assignment?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/paperclip/io_adapters/empty_string_adapter.rb', line 7

def assignment?
  false
end

#nil?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/paperclip/io_adapters/empty_string_adapter.rb', line 3

def nil?
  false
end