From: "Rafal C." Date: 2013-03-31T06:49:37+09:00 Subject: Grasping methods like "to_s"? Hi, I'm posting here to quickly ask you: how is one able to do something like: "string".is_i? ...where "is_i?" is a method I created, on any object? This kind of goes into monkey-patching I guess. Would I have to do: class String # My method end ...for every class I want that method to be available upon? So what if I want a method called "is_i?" to be available for the String, Integer, and Hash classes? Would I have to add that method to each of the classes separately (like above)? Thanks, and I apologise for the, some say, n00b'iness of this question. Rafal -- Posted via http://www.ruby-forum.com/.