soffolk <zlx.s...@gmail.com> wrote: > more than that, you can use it to produce your summary and save it into > database. > > I think it's a universal function, and we need not to limit it. just expand > String
If you want to, go ahead. Put it in a module, then send :include to String with your module name. If you really did not want suggestions, why did you ask for them? If you already have an answer you are settled on, why open things up? Just do it, see what you get. -- 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+unsubscr...@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/51aff989.a870320a.7303.ffffdb33%40mx.google.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.