I am newbie to both programming and Ruby.
But I need to complete this task - analyzing malware using ClamAV gem with Ruby.
I do not understand how to analyze a file, say "abc.exe" based on the documentation here;
Let's say I have a code snippet like this:
#what else I have to put here?
#say the file is in /home/test/abc.exe
#and I put my Ruby code, test.rb in /home/test/
I saw this function(?), method(?)
How should I put the function? Is it something like;
If so, how can I print out the result?