String extensions

I started project to create a library of basic functions (or ‘helpers’
as
you wish) .

The start with ds_string http://rubygems.org/gems/ds_string. want
to
contribute: was already made available at
rubygem.orghttp://rubygems.org/gems/ds_string

Has two basic functions:

“A”.times(3) => “AAA” (like “A” * 3 )
“A”.times(3) do |s| “#{s}-” end => “A-A-A-”
“1”.to_b => true
“yes”.to_b => true

=)
Nardele Salomon

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs