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, #inspect, #read

Constructor Details

#initialize(target) ⇒ EmptyStringAdapter

Returns a new instance of EmptyStringAdapter.



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

def initialize(target)
end

Instance Method Details

#assignment?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/paperclip/io_adapters/empty_string_adapter.rb', line 10

def assignment?
  false
end

#nil?Boolean

Returns:

  • (Boolean)


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

def nil?
  false
end