Class: Paperclip::EmptyStringAdapter

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

Constant Summary

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

- (EmptyStringAdapter) initialize(target)



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

def initialize(target)
end

Instance Method Details

- (Boolean) assignment?



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

def assignment?
  false
end

- (Boolean) nil?



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

def nil?
  false
end