Shellany captures command output.

Source: guard/shellany: portable shell command output capturing

10 years old, but seems like a nice alternative to Ruby builtins.