def clean!
reject!(&:blank?)
map!(&:strip)
uniq!
end
to
def clean!
reject!(&:blank?)
map!(&:strip)
map!(&:downcase)
uniq!
end
This worked just fine, but now I'd like to do it the "right" way, as
opposed to hacking on the gem. I believe I can add a file in a
particular place in my app hierarchy that will shadow this file and
override its clean! method. Where would that particular place be? Or
am I thinking about this the wrong way?
Thanks,
Walter
--
You received this message because you are subscribed to the Google Groups "Philly.rb" group.
To post to this group, send email to phil...@googlegroups.com.
To unsubscribe from this group, send email to phillyrb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phillyrb?hl=en.