Ruby on Rails Friday, November 29, 2013



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

The start with ds_string.   want to  contribute:  was already made available at rubygem.org

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

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bbcfa543-9824-43ba-8c47-42cf3fffd791%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment