static public Method

Base.abstract_class?

Returns whether this class is a base AR class. If A is a base class and B descends from A, then B.base_class will return B.

Source Code

# File active_record/base.rb, line 1220
def abstract_class?
  abstract_class == true
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.