obj.class â class
Instance Public methods
Returns the class of obj. This method must always be called with
an explicit receiver, as class
is also a reserved word in Ruby.
1 2 | 1 . class #=> Fixnum self . class #=> Object |
Returns the class of obj. This method must always be called with
an explicit receiver, as class
is also a reserved word in Ruby.
1 2 | 1 . class #=> Fixnum self . class #=> Object |
Designed by : w10schools
service@w10schools.com
Please login to continue.