I have some Ruby-question. Let I have class Cat. Cat has age attribute, which is Class::Integer. How can I add method .humanize, which will calculate human age equivalent form all cats in my project? i.e. ...
@cat.age #=> 2
@cat.age.humanize #=> 20
@tree.age #=> 5
@tree.age.humanize #=> NO METHOD ERROR!!! OH, YEAH!