APIdock / Ruby
/
method

superclass

ruby latest stable - Class: RDoc ::ClassModule
superclass()
public

Get the superclass of this class. Attempts to retrieve the superclass object, returns the name if it is not known.

# File lib/rdoc/class_module.rb, line 701
 def superclass
 @store.find_class_named(@superclass) || @superclass
 end

AltStyle によって変換されたページ (->オリジナル) /