rubyaudit
A silly project to compare and port features from other languages to ruby
** Note: ** This project is EOL’ed.
Ruby Language Audit is our attempt to bring beneficial features to ruby that don’t require modifications to the ruby language itself. Currently we’ve added:
- Tuple (python) - immutable arrays, can be used as hash keys.
- Range (python) - allows for a skip values
1 2 3 4 |
t = Tuple.new("something", 2, 3) => ["something", 2, 3] t[0] = 'blah' => TypeError: can't modify frozen array |
Get The Code
If you just want to use rubyaudit, you can install it via RubyGems:gem install rubyaudit
If you want to hack on rubyaudit, clone it from GitHub:
git clone git://github.com/seattlerb/rubyaudit