/ Published in: Ruby

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
list = Dir.entries(@fullpath2images) for l in list if /^plan_#{params[:id]}_(sm|big)_.*/ =~l File.delete(l) end end
Comments
