Executing Code With The Ruby Command
You can execute ruby code inline with the -e flag on the ruby command
ruby -e 'puts "hello world"'
Tweet
You can execute ruby code inline with the -e flag on the ruby command
ruby -e 'puts "hello world"'
Tweet