Deb Lewis
2006-Jun-16 15:24 UTC
[Masterview-devel] aaah - lib/facets/core/string/starts_with.rb
cool, just (re)discovered this, it''s been bugging me that ruby strings don''t support starts/ends-with predicates, which are standard in python and very handy. There''s a couple places in code I''ve written that I''ll fix to use these ~ Deb
Jeff Barczewski
2006-Jun-17 00:06 UTC
[Masterview-devel] aaah - lib/facets/core/string/starts_with.rb
Yes I missed that too. I wrote my own and then found that facets had it and a bunch more so I just borrowed a few of them so people wouldn''t have to install the entire facets collection. This is one of the first places I look to see if missing functions are implemented, they have a huge library of things that can be individually included. On 6/16/06, Deb Lewis <djlewis at acm.org> wrote:> > cool, just (re)discovered this, it''s been bugging me that ruby strings > don''t > support starts/ends-with predicates, which are standard in python and very > handy. > > There''s a couple places in code I''ve written that I''ll fix to use these > > ~ Deb > > > _______________________________________________ > Masterview-devel mailing list > Masterview-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/masterview-devel >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-devel/attachments/20060616/41da03b0/attachment.htm