Help is here!
Rubeque challenges users to solve ruby koans or short problems using ruby code. To do this, you'll need to fill in the blank on each problem. The blanks that you will be filling in are indicated by "___" (three underscores). This is not part of the syntax of Ruby and in its place, your code will be evaluated. If there are multiple blanks, each will be replaced with your code. Any code passes all assertions will be considered a correct answer.Let's consider the first problem:
assert_equal ___, true
Any of the following would be considered correct answers:
- (1 == 1)
Some operations are prohibited for security reasons. For example, no system calls will be allowed. Many of the easier problems on this site can be solved using only your browser. Here are some sites to help you along the way:
- tryruby.org — provides an interative ruby session (irb) in your browser.
- ruby-doc.org/core-1.9.3 — ruby 1.9.3 documenation.
- rubular.com — provides an interactive way to test your regular expressions against strings.
- strfti.me — look up variables that you need to format time in ruby.
To receive a score for a submitted problem, you must be logged in. You'll automatically receive one point for an elementary problem, two points for a easy problem, three points for a medium problem, and four points for a hard problem. You'll also receive one point for every upvote and (sad face) minus one point for every downvote. Problems marked as cheating will be reviewed and if removed, will not count towards your score.
Like solving Ruby problems online?
Check out these other great sites if you like the idea of solving Ruby problems online:
Need to contact us?
For news and updates, follow @rubequedotcom on Twitter.