Henry Maddocks wrote in post #1131382:
> Learn about polymorphism.
>
> Henry

This is the solution in the book of "Refactoring", but how to implement 
it here with regular expression used?

-- 
Posted via http://www.ruby-forum.com/.