3 examples for ruby

{{ score }}
  # run ruby program "program.rb"
ruby program.rb
        
{{ score }}
  # Start a HTTP server to serve the current directory
ruby -run -e httpd . -p 9090
        
{{ score }}
  # Randomly shuffles lines of stdin (shell one-liner!)
ruby -e "puts STDIN.readlines.shuffle"