Sha256: c3baeb83f31ec42e610a567de454006611eed66cb7651a9ac3c782bd6fd432a5
Contents?: true
Size: 495 Bytes
Versions: 9
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true require 'iso_bib_item/localized_string' module IsoBibItem # Dovument status. class DocumentStatus # @return [IsoBibItem::LocalizedString] attr_reader :status # @param status [IsoBibItem::LocalizedString] def initialize(status) @status = status end def to_xml(builder) builder.status do # FormattedString.instance_method(:to_xml).bind(status).call builder status.to_xml builder end end end end
Version data entries
9 entries across 9 versions & 1 rubygems