Switch | What it does | Example |
---|---|---|
-e |
executes the subsequent code | ruby -e 'puts "te quiero"' |
-w |
gives you any warning messages that your program might generate | ruby -we 'if 9; puts "te quiero" end' |
-c |
checks your syntax | Syntax OK |
-rprofile |
requires the feature, prefaced with r |
ruby -rpry filename.rb |
Last active
September 14, 2016 18:02
-
-
Save stephaniewilkinson/c893498b5b173b529c0c48f7e06ce700 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment