class AcademicBenchmarks::Standards::Grade
Attributes
code[RW]
Public Class Methods
from_hash(hash)
click to toggle source
# File lib/academic_benchmarks/standards/grade.rb, line 10 def self.from_hash(hash) self.new(code: hash["code"]) end
new(code:)
click to toggle source
# File lib/academic_benchmarks/standards/grade.rb, line 14 def initialize(code:) @code = code end