Sha256: 9a8ad075ed4720e6305d9e244b3a29fdb767cbf599161d08cd6d045bada163ff
Contents?: true
Size: 424 Bytes
Versions: 3
Compression:
Stored size: 424 Bytes
Contents
require_relative "base_class" module Oscal class Revision < Oscal::BaseClass KEY = %i(title published last_modified version oscal_version props links remarks) attr_accessor *KEY attr_serializable *KEY def set_value(key_name, val) case key_name when "props" Property.wrap(val) when "links" Link.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/revision.rb |
oscal-0.2.2 | lib/oscal/revision.rb |
oscal-0.2.0 | lib/oscal/revision.rb |