Sha256: 09ec63309e687be874a495104e682cfc9809532fad6002d68324da44e0a66ef9
Contents?: true
Size: 566 Bytes
Versions: 2
Compression:
Stored size: 566 Bytes
Contents
module RelatonBib class Medium # @return [String, NilClass] attr_reader :form, :size, :scale # @param form [String, NilClass] # @param size [String, NilClass] # @param scale [String, NilClass] def initialize(form: nil, size: nil, scale: nil) @form = form @size = size @scale = scale end # @param builder [Nokogiri::XML::Builder] def to_xml(builder) builder.medium do builder.form form if form builder.size size if size builder.scale scale if scale end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
relaton-bib-0.3.3 | lib/relaton_bib/medium.rb |
relaton-bib-0.3.2 | lib/relaton_bib/medium.rb |