String extensions

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

The start with ds_string want
contribute: was already made available at

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