Sha256: 067f51a14feaf7cf79f5d5b3834caf2c69df3b8fb9a907fe3912bf160025e96a
Contents?: true
Size: 435 Bytes
Versions: 3
Compression:
Stored size: 435 Bytes
Contents
require_relative "base_class" module Oscal class InsertControl < Oscal::BaseClass KEY = %i(order include_all include_controls exclude_controls) attr_accessor *KEY attr_serializable *KEY def set_value(key_name, val) case key_name when "include_controls" IncludeControl.wrap(val) when "exclude_controls" ExcludeControls.wrap(val) else val end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oscal-0.2.3 | lib/oscal/insert_control.rb |
oscal-0.2.2 | lib/oscal/insert_control.rb |
oscal-0.2.0 | lib/oscal/insert_control.rb |