From: jonas Date: 2001-05-28T01:27:06+09:00 Subject: [ruby-talk:15808] Re: is it possible to dynamically coerce objects types in Ruby? > Try 'to_int' which is for that particular purpose, not 'to_i' which is > for explicit conversion to integer. And when you want something to be > string, try 'to_str'. Why is there a difference between to_i and to_int? Is it the principle of biggest surprise!? :-)