Articles related to ruby calling external programs
Capturing the Return Value of an External Program
Ruby makes it easy to run external programs and capture their output. Using the built-in "backtick" operator is as easy as running these programs from the ...
Interacting with External Programs - Ruby - About.com
You've learned how to launch external programs using both system or ... What Every Coder Should Know About Running Ruby Scripts · Be Notified of New ...
Is the "Require" Method Overlooked in Ruby? - About.com
... in Ruby. It allows you to import other source files into your programs. ... In Ruby , the require method is used to load another file and execute all its statements.
The Interactive Ruby Prompt - About.com
Ruby statements can be run and the output and return values can be ... in Ruby 1.9.1 · Capturing the Return Value of an External Program · How to Install Ruby ...
Accessing Ruby Environment Variables - About.com
Using environment variables in Ruby. ... The environment variable will be passed onto the program as its run, but not saved. Any further invocations of the ...
Command-line Arguments in Ruby - About.com
They simply run, do their job and then exit. ... Command-line arguments are passed to the Ruby program by the shell, the program the excepts commands ( such ...
The 'exec' Method - Ruby - About.com
There are several ways to run other programs in Ruby. There is the system method, backticks, etc. However, they all spawn new processes. If there is nothing left ...
Beginning Ruby - About.com
If you're just getting to know Ruby, these articles will tell you what you need to know to get ... What Every Coder Should Know About Running Ruby Scripts.
Advanced Ruby - About.com
What Every Coder Should Know About Running Ruby Scripts ... (for example, resizing an image file) to an external program using the backtick operator.
A Quick Haml Tutorial - Ruby - About.com
Finally, you can prepend any text with the equals sign to execute Ruby code. ... Capturing the Return Value of an External Program · What's New in Ruby 1.9.1?