class AcademicBenchmarks::Standards::Utilizations

Attributes

type[RW]

Public Class Methods

from_hash(hash) click to toggle source
# File lib/academic_benchmarks/standards/utilizations.rb, line 10
def self.from_hash(hash)
  self.new(type: hash["type"])
end
new(type:) click to toggle source
# File lib/academic_benchmarks/standards/utilizations.rb, line 14
def initialize(type:)
  @type = type
end