class Goodall::Writer

Public Class Methods

new(file_path) click to toggle source
# File lib/goodall/writer.rb, line 3
def initialize(file_path)
  @documentation_file = File.new(file_path, "w")
end

Public Instance Methods

close() click to toggle source
# File lib/goodall/writer.rb, line 7
def close
  @documentation_file.close
end
write(str) click to toggle source
# File lib/goodall/writer.rb, line 11
def write(str)
  @documentation_file.puts str
end