Module: ComponentsAddChildren::ClassMethods

Defined in:
backend/app/model/mixins/components_add_children.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) node_record_type



50
51
52
# File 'backend/app/model/mixins/components_add_children.rb', line 50

def node_record_type
  @node_record_type
end

- (Object) root_record_type



46
47
48
# File 'backend/app/model/mixins/components_add_children.rb', line 46

def root_record_type
  @root_record_type
end

- (Object) tree_record_types(root, node)



41
42
43
44
# File 'backend/app/model/mixins/components_add_children.rb', line 41

def tree_record_types(root, node)
  @root_record_type = root.to_s
  @node_record_type = node.to_s
end