Sha256: 00fa7ffefd684f165c95727a80e83f17bdfcd432557f85a9130069c3e25d0fe5
Contents?: true
Size: 320 Bytes
Versions: 3
Compression:
Stored size: 320 Bytes
Contents
require_relative "base_class" module Oscal class Rlink < Oscal::BaseClass KEY = %i(href media_type hashes) attr_accessor *KEY attr_serializable *KEY def set_value(key_name, val) case key_name when "hashes" HashObject.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/rlink.rb |
oscal-0.2.2 | lib/oscal/rlink.rb |
oscal-0.2.0 | lib/oscal/rlink.rb |