Class: CarrierWave::HasModeratedTempFile

Inherits:
SanitizedFile
  • Object
show all
Defined in:
lib/has_moderated/carrier_wave_patches.rb

Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ HasModeratedTempFile

Returns a new instance of HasModeratedTempFile.



4
5
6
# File 'lib/has_moderated/carrier_wave_patches.rb', line 4

def initialize(file)
  super(file)
end

Instance Method Details

#copy_to(*args) ⇒ Object



12
13
14
# File 'lib/has_moderated/carrier_wave_patches.rb', line 12

def copy_to(*args)
  self
end

#delete(*args) ⇒ Object



16
17
18
# File 'lib/has_moderated/carrier_wave_patches.rb', line 16

def delete(*args)
  false
end

#move_to(*args) ⇒ Object



8
9
10
# File 'lib/has_moderated/carrier_wave_patches.rb', line 8

def move_to(*args)
  self
end