class Orgmode::Parser
Public Instance Methods
babelize()
click to toggle source
This would return a babel output buffer which has the methods needed in order to be able to tangle the files
# File lib/org-converge.rb, line 14 def babelize mark_trees_for_export # Feed the parsed contens and create the necessary internal structures # for doing babel like features output = '' babel_options = { :in_buffer_settings => @in_buffer_settings } ob = BabelOutputBuffer.new(output, babel_options) translate(@header_lines, ob) @headlines.each do |headline| next if headline.export_state == :exclude translate(headline.body_lines, ob) end ob end