lib/libis/format/tool/file_tool.rb in libis-format-0.9.44 vs lib/libis/format/tool/file_tool.rb in libis-format-0.9.45
- old
+ new
@@ -4,11 +4,11 @@
module Format
module Tool
class FileTool < Libis::Format::Tool::IdentificationTool
- def run_list(filelist)
+ def run_list(filelist, _options = {})
create_list_file(filelist) do |list_file|
output = runnerIdentificationTool(nil, '--files-from', list_file)
@@ -16,11 +16,11 @@
end
end
- def run_dir(dir, recursive = true)
+ def run_dir(dir, recursive = true, _options = {})
filelist = find_files(dir, recursive)
create_list_file(filelist) do |list_file|
@@ -30,10 +30,10 @@
end
end
- def run(file)
+ def run(file, _options = {})
output = runner(file)
process_output(output)