H
Haze Noc
Ok so lets say i have a program, And within the program i call a command
such as Ruby: <command>
Is there anyway to be able to run live ruby code and print the answers
(i dont really know how to put it) so like..
Ruby: name = 'john'; puts "Hi" if name == 'john'
Program: Hi
Sounds weird i know, But if Anyone out there understands me that would
be great..
I want to stay away from shell one liners like ruby -e "code here"
Thanks in advance
such as Ruby: <command>
Is there anyway to be able to run live ruby code and print the answers
(i dont really know how to put it) so like..
Ruby: name = 'john'; puts "Hi" if name == 'john'
Program: Hi
Sounds weird i know, But if Anyone out there understands me that would
be great..
I want to stay away from shell one liners like ruby -e "code here"
Thanks in advance