Sha256: 41eced4d71779ab01e56fed710367b39bb973aaa60636d8843a87385c80ce56b
Contents?: true
Size: 859 Bytes
Versions: 1
Compression:
Stored size: 859 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module Rfcxml module V3 class Sourcecode < Lutaml::Model::Serializable attribute :content, :string attribute :anchor, :string attribute :pn, :string attribute :name, :string, default: -> { "" } attribute :type, :string, default: -> { "" } attribute :markers, :string, default: -> { "false" } attribute :src, :string attribute :original_src, :string xml do root "sourcecode" map_content to: :content map_attribute "anchor", to: :anchor map_attribute "pn", to: :pn map_attribute "name", to: :name map_attribute "type", to: :type map_attribute "markers", to: :markers map_attribute "src", to: :src map_attribute "originalSrc", to: :original_src end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rfcxml-0.2.0 | lib/rfcxml/v3/sourcecode.rb |