lib/oscal/modify.rb in oscal-0.1.1 vs lib/oscal/modify.rb in oscal-0.2.0

- old
+ new

@@ -3,16 +3,17 @@ module Oscal class Modify < Oscal::BaseClass KEY = %i(set_parameters alters) attr_accessor *KEY + attr_serializable *KEY def set_value(key_name, val) case key_name - when 'set_parameters' + when "set_parameters" SetParameter.wrap(val) - when 'alters' + when "alters" Alter.wrap(val) else val end end