I'm trying to find out if Ruby has en equivalent of php's fopen() method currently used like this:
$fd = fopen("php://stdin", "r");
would that be using ARGV variable?
Basically what I plan on doing is forward raw e-mail messages using the .procmailrc file which I already got working in a test php file, but the project requires the use of Ruby. Therefore I'm not 100% sure if using the ARGV variable would work or if somehow I need to capture the e-mail stream by some other means.
Any help would be greatly appreciated. Thanks :)