module Sequel::Plugins::Tree::ClassMethods
Attributes
The association name for the children association
The association name for the parent association
The symbol or array of symbols for the column containing the value pointing to the parent of the node.
The qualified identifier or array of qualified identifiers for the column containing the value pointing to the parent of the node.
The column symbol or array of column symbols on which to order the tree.
Public Instance Methods
Source
# File lib/sequel/plugins/tree.rb 81 def freeze 82 @tree_order.freeze if @tree_order.is_a?(Array) 83 84 super 85 end
Should freeze tree order if it is an array when freezing the model class.
Calls superclass method