Run shell commands from Ruby
Just a quick tip, you can run shell commands from Ruby using the following syntax:
%x(git log)
# or
system('git log')
Martin Brennanabout | archive | github | writing |
Just a quick tip, you can run shell commands from Ruby using the following syntax:
%x(git log)
# or
system('git log')