I'm pleased to announce the long-awaited (by me, anyway) version 0.4.0 of
Ruby/Extensions.
This is a collection of extensions to the Ruby built-in classes. Added
since 0.3.0:
Array#select!
Object#define_method
Object#non_nil?
Object#not_nil?
OpenStruct.new [1]
String#join [2]
Notes:
[1] Overrides the standard library OpenStruct.new to accept a block in
initializing.
[2] Joins a multi-line string into a single line, like vi's J command.
Sample code, etc. is on the home page:
http://extensions.rubyforge.org
Installation:
gem install -r extensions
# or wait until it appears on RPA
# or grab a tarball from http://rubyforge.org/frs/?group_id=89
Cheers,
Gavin