Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my_block = <<FILTER_BLOCK
- row << row[0].slice(/^.+\:\/\/([^\/]+)/, 1)
- row << file.slice(/([^-]+-[^-]+)/,1)
- FILTER_BLOCK
- DirectoryFilters.send(dir_filter, path) do |file|
- res = FileFilters.send(file_filter, path, file, "\t") do |row|
- eval(my_block)
- end
- end
Add Comment
Please, Sign In to add comment