Get superclass : superclass « Reflection « Ruby






Get superclass


p String.superclass         # => Object

 

Related examples in the same category

1.Get class and superclass
2.Object has a super class in Ruby 1.9