app/services/bibliography_builder.rb
def traject_reader
    traject_indexer.reader!(
      StringIO.new(resource.bibtex_file).set_encoding('UTF-8')
    )
  end
##
# A basic first implementation, this should be configured with an input stream
# based on some model value
A basic first implementation, this should be configured with an input stream
based on some model value
A basic first implementation this should be configured with an input stream based on some model value
def traject_reader
    traject_indexer.reader!(
      StringIO.new(resource.bibtex_file).set_encoding('UTF-8')
    )
  end
def traject_reader traject_indexer . reader! ( StringIO . new ( resource . bibtex_file ) . set_encoding ( 'UTF-8' ) ) end
A basic first implementation, this should be configured with an input stream
based on some model value
A basic first implementation this should be configured with an input stream based on some model value