class AcademicBenchmarks::Standards::Section
Attributes
children[RW]
descr[RW]
description[RW]
guid[RW]
Public Class Methods
from_hash(hash)
click to toggle source
# File lib/academic_benchmarks/standards/section.rb, line 12 def self.from_hash(hash) self.new(descr: hash["descr"], guid: hash["guid"]) end
new(guid:, descr:, children: [])
click to toggle source
# File lib/academic_benchmarks/standards/section.rb, line 16 def initialize(guid:, descr:, children: []) @guid = guid @descr = descr @children = children end