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, RootOrderingDisabledError, Support
Constant Summary collapse
- VERSION =
Gem::Version.new('7.1.0')
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
23 24 25 |
# File 'lib/closure_tree.rb', line 23 def self.configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
19 20 21 |
# File 'lib/closure_tree.rb', line 19 def self.configure yield configuration end |