openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
M
Marcello de Sales Ruby_koans
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
about 17 hours
ago. based on code collected
1 day
ago.
Aug 31, 2025 — Aug 31, 2026
Showing page 1 of 10
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
This revision includes the last Ruby Koan about strings and the method to_s and to_str. The former can't promote the object to string, but the latter can.
Marcello de Sales
More...
about 14 years ago
This revision includes the Ruby Koan about proxy objects. Some remarks:
Marcello de Sales
More...
about 14 years ago
This revision adds the Ruby Koan about message passing. Some remaks.
Marcello de Sales
More...
about 14 years ago
This revision includes the Ruby Koan about class methods. Some remaks are as follows:
Marcello de Sales
More...
about 14 years ago
This revision adds the Ruby Koan about scope.
Marcello de Sales
More...
about 14 years ago
This revision includes the Ruby Koans about modules.
Marcello de Sales
More...
about 14 years ago
This revision includes the Ruby Koans about Inheritance. the OOP inheritance is as always expected. No surprises here.
Marcello de Sales
More...
about 14 years ago
This revision adds the Ruby Koan about the rolling the dice project. It uses the Random class.
Marcello de Sales
More...
about 14 years ago
This revision adds the current implementation of the Ruby Koan about the Dice. This is STILL FAILING.
Marcello de Sales
More...
about 14 years ago
This revision adds the Ruby Koan about opening classes.
Marcello de Sales
More...
about 14 years ago
This revision adds the Ruby Koan about classes. Nothing in special about this Koan, as the syntax is very simple.
Marcello de Sales
More...
over 14 years ago
This revision adds the Ruby Koan about the scoring project with the implemented scoring method.
Marcello de Sales
More...
over 14 years ago
This revision adds the Ruby Koans about blocks and sandwich code. Blocks are very interesting in ruby as they can be passed as parameters to methods. Some remarks are:
Marcello de Sales
More...
over 14 years ago
This revision includes the Ruby koan Iterations. I personally prefer blocks with "{" as I'm used to Groovy. They decrease the keyword "do" pollution.
Marcello de Sales
More...
over 14 years ago
This revision adds the verification of parameters to the triangle project, throwing/raising exceptions that verify the properties of a triangle.
Marcello de Sales
More...
over 14 years ago
This revision includes the Ruby koan about exceptions.
Marcello de Sales
More...
over 14 years ago
This revision includes the project for triangles.
Marcello de Sales
More...
over 14 years ago
This revision adds the Ruby koan about true and false conditions.
Marcello de Sales
More...
over 14 years ago
This revision includes the Ruby koan about control statement.
Marcello de Sales
More...
over 14 years ago
This revision adds the Ruby Koan about constants. They can be referenced in a global scope, nasted or in a inheritance tree from classes. See the last example for some features.
Marcello de Sales
More...
over 14 years ago
This revision includes the Ruby Koan about methods. Everything looks the same, except the call to private methods will raise NoMethodError in case they are called without a receiver.
Marcello de Sales
More...
over 14 years ago
This revision includes the Ruby Koan for regular expressions. It definitely helped learning about a few tricks for substring replacement and characters. Very useful tutorial.
Marcello de Sales
More...
over 14 years ago
This revision includes the Ruby Koans for symbols. They are very simple and can be created dynamically. They are NOT strings, and there's only one copy of them in the System.all_symbols, which is represented internally as numbers, so convert them to string to find out if on symbol exist.
Marcello de Sales
More...
over 14 years ago
This revision adds the Ruby koans for Strings. There were a few remarks about it as described:
Marcello de Sales
More...
over 14 years ago
This revision adds the Ruby koans about hashes. Some remarks:
Marcello de Sales
More...
over 14 years ago
This revision adds the koan for array assignment. Nothing too surprising since Groovy stole a lot of the code sugary on this topic. The only cool thing is the splat operator, that receives the sub array during parallel assignment. nil is returned if too few variables. A comma can be used to retrieve only one element.
Marcello de Sales
More...
over 14 years ago
This revision adds the ruby koans about arrays. Some remarks are:
Marcello de Sales
More...
over 14 years ago
This revision adds the koans for Objects. Some remarks: 1. Everything is an object, even the Object class itself when #is_a?(x) 2. Everything can be converted to string. "nil" will be empty 3. Everything will be converted to string with #inspect, even nil. 4. All objects have "#object_id", different for all objects 5. object_id for system objects are base 2 values 6. Small numbers have #object_id following the pattern "2*x+1" 7. Cloned objects have different #object_id, although their state is the same.
Marcello de Sales
More...
over 14 years ago
This revision adds the koans for the nil object.
Marcello de Sales
More...
over 14 years ago
This revision finishes the koans "about_asserts" from the Ruby Koans.
Marcello de Sales
More...
over 14 years ago
←
1
2
3
4
5
6
7
8
9
10
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree