concept output in category ruby

appears as: output, output, The output, The output, outputs, The output, the output
The Well-Grounded Rubyist, Third Edition

This is an excerpt from Manning's book The Well-Grounded Rubyist, Third Edition.

Such a command gives you output something like the following (depending on which gems you already have installed and which dependencies have to be met by installing new gems):

The output is

>> d = `date`
=> "Sun Apr 22 08:49:11 EDT 2018\n"
>> puts d
Sun Apr 22 08:49:11 EDT 2018
=> nil
>> output = `cat`
I'm typing into cat. Since I'm using backticks,
I won't see each line echoed back as I type it.
Instead, cat's output is going into the
variable output.
=> "I'm typing into cat. Since I'm using backticks,\nI won't etc.
>> puts output
I'm typing into cat. Since I'm using backticks,
I won't see each line echoed back as I type it.
Instead, cat's output is going into the
variable output.