Class EraserController
In: app/controllers/eraser_controller.rb
Parent: ApplicationController

Methods

Public Instance methods

[Source]

    # File app/controllers/eraser_controller.rb, line 12
12:   def extras
13:                 rx=Regexp.new('(.*\d.*(JPG|GIF|PNG))$',
14:                                 Regexp::IGNORECASE)
15:                 files=Giver.new.
16:                                 get_filename_part('images',rx)
17:                 files.each do |f|
18:                         logger.info "deleting #{f}"
19:                         File.delete f
20:                 end
21:   end

[Source]

   # File app/controllers/eraser_controller.rb, line 3
3:         def filechoices?
4:                 false
5:         end

[Source]

    # File app/controllers/eraser_controller.rb, line 9
 9:   def get_title
10:                 'deletes pic edits'
11:         end

[Source]

   # File app/controllers/eraser_controller.rb, line 6
6:         def start_choices
7:                 []
8:         end

[Validate]