Sha256: 870aa6909515628475f13d90999e7ad6dd69f19276a8d6a7e7ad503fb3938e67

Contents?: true

Size: 348 Bytes

Versions: 6

Compression:

Stored size: 348 Bytes

Contents

module CiteProc
  module Ruby
    
    class Renderer
      
      private

      # @param item [CiteProc::CitationItem]
      # @param node [CSL::Style::Layout]
      # @return [String]
      def render_macro(item, node)
        node.each_child.map { |child|
          render item, child
        }.join('')
      end
      
    end
    
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
citeproc-ruby-1.0.5 lib/citeproc/ruby/renderer/macro.rb
citeproc-ruby-1.0.4 lib/citeproc/ruby/renderer/macro.rb
citeproc-ruby-1.0.3 lib/citeproc/ruby/renderer/macro.rb
citeproc-ruby-1.0.2 lib/citeproc/ruby/renderer/macro.rb
citeproc-ruby-1.0.1 lib/citeproc/ruby/renderer/macro.rb
citeproc-ruby-1.0.0 lib/citeproc/ruby/renderer/macro.rb