class SiSU_ConvertFootnotes::Output

Public Class Methods

new(md,data) click to toggle source
# File lib/sisu/sst_do_inline_footnotes.rb, line 162
def initialize(md,data)
  @md,@data=md,data
  @my_make=SiSU_Env::CreateFile.new(@md.fns)
  SiSU_Env::InfoEnv.new(@md.fns)
  @hard="#{Dir.pwd}/#{@md.fns}.fn"
end

Public Instance Methods

hard_output() click to toggle source
# File lib/sisu/sst_do_inline_footnotes.rb, line 168
def hard_output
  filename_note=@my_make.file_note
  @data.each {|s| filename_note.puts s.strip + "\n\n" unless s.strip.empty?}
end