Class | Link |
In: |
app/models/link.rb
|
Parent: | ActiveRecord::Base |
# File app/models/link.rb, line 14 14: def section 15: section_node ? section_node.section : nil 16: end
# File app/models/link.rb, line 22 22: def section=(sec) 23: if section_node 24: section_node.move_to_end(sec) 25: else 26: build_section_node(:node => self, :section => sec) 27: end 28: end