[ANN] extensions-0.4.0

G

Gavin Sinclair

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,186
Latest member
vinaykumar_nevatia

Latest Threads

Top