This will check the syntax without executing the program:
ruby -c filename.rb
(Source: rubyloveinfo)
7 notes 0 comments (via rubyloveinfo)
program: ruby -c filename.rb
You can use HTML tags for formatting. Wrap code in <code> tags and multiple lines of code in <pre><code> tags.