Brian Buckley on 17 Dec 2005 17:58:09 -0000 |
>> Wow Wow indeed. Are those codes ('&m' and '&d') your picks or are they from C roots? Nitpicking is this even more ruby-like? result = orig_strftime(x) result.gsub!(/&m/){ "#{month}" } result.gsub!(/&d/){ "#{day}" } result end Brian Buckley _______________________________________________ talk mailing list talk@phillyonrails.org http://lists.phillyonrails.org/mailman/listinfo/talk
|
|