class FileOutput

Public Class Methods

new(file_name) click to toggle source
# File lib/splithtml_formatter.rb, line 7
def initialize(file_name)
    @f = File.open(file_name, "w")
end

Public Instance Methods

flush() click to toggle source
# File lib/splithtml_formatter.rb, line 15
def flush()
    @f.flush()
end
puts(text) click to toggle source
# File lib/splithtml_formatter.rb, line 11
def puts(text)
    @f.puts(text)
end