All descendent classes of this model.
# File lib/sequel/plugins/subclasses.rb, line 30 def descendents Sequel.synchronize{_descendents} end
Add the subclass to this model's current subclasses, and initialize a new subclasses instance variable in the subclass.
# File lib/sequel/plugins/subclasses.rb, line 37 def inherited(subclass) super Sequel.synchronize{subclasses << subclass} subclass.instance_variable_set(:@subclasses, []) end
Generated with the Darkfish Rdoc Generator 2.