
What a fantastic module!
Every once in a while I get to know a bit more of Ruby and I feel the joy which Matz talks about!
From: The Philosophy of Ruby –
For me the purpose of life is partly to have joy. Programmers often feel joy when they can concentrate on the creative side of programming, So Ruby is designed to make programmers happy.
Today I was looking for executing a program from within Ruby. Now this program takes command line input and gives some output as well. So, I went around trying the usual %x(program.rb)
but obviously that didn’t work.
Finally I came across Open3 which is a core module of Ruby!
Continue reading