Encoding to standard output

Top  Previous  Next

RubyEncoder command line encoder may be used for encoding separate files taking source from standard input and sending encoded contents to standard output. In order to use the command line encoder in this mode, pass the -- (double dash) instead of the input file name.

 

For example:

 

>rubyencoder --ruby 2.0.0 -- < /path/to/source.rb > /path/to/encoded.rb