Method: AcademicBenchmarks::Standards::StandardsTree#initialize
- Defined in:
- lib/academic_benchmarks/standards/standards_tree.rb
#initialize(root) ⇒ StandardsTree
Returns a new instance of StandardsTree.
9 10 11 12 13 |
# File 'lib/academic_benchmarks/standards/standards_tree.rb', line 9 def initialize(root) @orphans = [] @root = root root.rebranch_children if root.is_a?(Authority) || root.is_a?(Publication) end |