class SiSU_HTML_Tune::Output
Public Class Methods
new(data,md)
click to toggle source
# File lib/sisu/html_tune.rb, line 74 def initialize(data,md) @data,@md=data,md @file=SiSU_Env::InfoFile.new(@md.fns) @cX=SiSU_Screen::Ansi.new(@md.opt.act[:color_state][:set]).cX end
Public Instance Methods
hard_output()
click to toggle source
# File lib/sisu/html_tune.rb, line 79 def hard_output @filename_tune=@file.write_file_processing.html_tune data=[] @data.each do |x| unless x.obj.empty? x.obj=x.obj.strip data << x end end data.each do |dob| @filename_tune.puts dob, "\n" end end
marshal()
click to toggle source
# File lib/sisu/html_tune.rb, line 92 def marshal File.open(@file.marshal.html_tune,'w') {|f| Marshal.dump(@data.to_a,f)} end