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