Module: Mongoid::Acts::Tree::Fields
- Defined in:
- lib/mongoid_acts_as_tree.rb
Instance Method Summary collapse
Instance Method Details
#depth_field ⇒ Object
261 262 263 |
# File 'lib/mongoid_acts_as_tree.rb', line 261 def depth_field [:depth_field] end |
#parent_id_field ⇒ Object
253 254 255 |
# File 'lib/mongoid_acts_as_tree.rb', line 253 def parent_id_field [:parent_id_field] end |
#path_field ⇒ Object
257 258 259 |
# File 'lib/mongoid_acts_as_tree.rb', line 257 def path_field [:path_field] end |
#tree_order ⇒ Object
265 266 267 |
# File 'lib/mongoid_acts_as_tree.rb', line 265 def tree_order [:order] or [] end |