module ClosureTree

This module is only included if the order column is an integer.

This class and mixins are an effort to reduce the namespace pollution to models that act_as_tree.

Constants

VERSION

Public Class Methods

configuration() click to toggle source
# File lib/closure_tree.rb, line 22
def self.configuration
  @configuration ||= Configuration.new
end
configure() { |configuration| ... } click to toggle source
# File lib/closure_tree.rb, line 18
def self.configure
  yield configuration
end