All descendent classes of this model.
# File lib/sequel/plugins/subclasses.rb, line 44 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 53 def inherited(subclass) super Sequel.synchronize{subclasses << subclass} on_subclass.call(subclass) if on_subclass end
Generated with the Darkfish Rdoc Generator 2.