Ruby Shell Command
Let’s use shell command in Ruby.
Ruby is script, so we sometimes do some operations in Ruby script.
Shell command is useful for it.
exec
Most easiest way and realistic way is exec
exec 'date'
We need ”
Let’s use shell command in Ruby.
Ruby is script, so we sometimes do some operations in Ruby script.
Shell command is useful for it.
Most easiest way and realistic way is exec
exec 'date'
We need ”