Sha256: e10e6b64d63973de744e67540212fb061fc3c39e3816041b892c9657195eab42

Contents?: true

Size: 358 Bytes

Versions: 23

Compression:

Stored size: 358 Bytes

Contents

module CiteProc
  module Ruby

    class Renderer

      private

      # @param item [CiteProc::CitationItem]
      # @param node [CSL::Style::Layout]
      # @return [String]
      def render_layout(item, node)
        join node.each_child.map { |child|
          render item, child
        }.reject(&:empty?), node.delimiter
      end

    end

  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
citeproc-ruby-1.0.2 lib/citeproc/ruby/renderer/layout.rb
citeproc-ruby-1.0.1 lib/citeproc/ruby/renderer/layout.rb
citeproc-ruby-1.0.0 lib/citeproc/ruby/renderer/layout.rb