Module: ClosureTree
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/closure_tree/support.rb,
lib/closure_tree.rb,
lib/closure_tree/model.rb,
lib/closure_tree/finders.rb,
lib/closure_tree/version.rb,
lib/closure_tree/digraphs.rb,
lib/closure_tree/hash_tree.rb,
lib/closure_tree/test/matcher.rb,
lib/closure_tree/configuration.rb,
lib/closure_tree/support_flags.rb,
lib/closure_tree/has_closure_tree.rb,
lib/closure_tree/hash_tree_support.rb,
lib/closure_tree/support_attributes.rb,
lib/closure_tree/active_record_support.rb,
lib/closure_tree/has_closure_tree_root.rb,
lib/closure_tree/hierarchy_maintenance.rb,
lib/closure_tree/numeric_order_support.rb,
lib/closure_tree/deterministic_ordering.rb,
lib/generators/closure_tree/config_generator.rb,
lib/closure_tree/numeric_deterministic_ordering.rb,
lib/generators/closure_tree/migration_generator.rb
Overview
This module is only included if the order column is an integer.
Defined Under Namespace
Modules: ActiveRecordSupport, DeterministicOrdering, Digraphs, Finders, Generators, HasClosureTree, HasClosureTreeRoot, HashTree, HashTreeSupport, HierarchyMaintenance, Model, NumericDeterministicOrdering, NumericOrderSupport, SupportAttributes, SupportFlags, Test Classes: Configuration, MultipleRootError, Support
Constant Summary collapse
- VERSION =
Gem::Version.new('6.2.0')
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
22 23 24 |
# File 'lib/closure_tree.rb', line 22 def self.configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
18 19 20 |
# File 'lib/closure_tree.rb', line 18 def self.configure yield configuration end |