3 ms·
Well, in ruby everything is an object that is a member of some class. Those classes have specific properties that only allow for specific methods to be applied
by yokem55 3y ago
Well, in ruby everything is an object that is a member of some class. Those classes have specific properties that only allow for specific methods to be applied on them. Ie, integers are members of the numeric::integer class, and if you want to use that integer as part of a string in output, you do have to convert it to a string first using a method defined as such.
So, what exactly do you see as missing in ruby's typing?