Sha256: fcd506c0dc5b53e54133137b8e2f109f063744b92251dfd21c47e9e886e7feae
Contents?: true
Size: 440 Bytes
Versions: 1
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module Rfcxml module V3 class Eref < Lutaml::Model::Serializable attribute :content, :string attribute :brackets, :string, default: -> { "none" } attribute :target, :string xml do root "eref" map_content to: :content map_attribute "brackets", to: :brackets map_attribute "target", to: :target end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rfcxml-0.2.0 | lib/rfcxml/v3/eref.rb |