Sha256: edddad1dcfab73c5652312f9e2bf7d602a65f378f52483f5ca7ccc94eb7e8b91

Contents?: true

Size: 374 Bytes

Versions: 4

Compression:

Stored size: 374 Bytes

Contents

require "relaton_bib/formatted_string"

module RelatonBib
  class << self
    def formattedref_hash_to_bib(ret)
      ret[:formattedref] and ret[:formattedref] =
        formattedref(ret[:formattedref])
    end
  end

  class FormattedRef < FormattedString
    # @param [Nokogiri::XML::Builder]
    def to_xml(builder)
      builder.formattedref { super }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
relaton-bib-0.3.1 lib/relaton_bib/formatted_ref.rb
relaton-bib-0.3.0 lib/relaton_bib/formatted_ref.rb
relaton-bib-0.2.5 lib/relaton_bib/formatted_ref.rb
relaton-bib-0.2.4 lib/relaton_bib/formatted_ref.rb