Transform the base class to a hierarchical node. A selection of different implementation strategies are provided.

Example

class Comment

   is Hierarchical, :method => :nested_sets

end

+:method+
:simple :nested_sets :nested_intervals
Methods
Included Modules
Public Class methods
included_with_params(base, options)
     # File lib/og/model/hierarchical.rb, line 132
132:   def self.included_with_params(base, options)
133:     o = {
134:       :method => :nested_sets, 
135:     }
136:     o.update(options) if options
137: 
138:     base.include(NestedSets, o)
139:   end