method

subclasses

Importance_1
Ruby on Rails latest stable (v2.3.4) - 0 notes - Class: Class
subclasses() public

Returns an array with the names of the subclasses of self as strings.

  Integer.subclasses # => ["Bignum", "Fixnum"]
Show source
Register or log in to add new notes.