class StraightServer::Logger
Public Instance Methods
blank_lines(n=1)
click to toggle source
inserts a number of blank lines
# File lib/straight-server/logger.rb, line 5 def blank_lines(n=1) n.times { puts "\n" } File.open(StraightServer::Initializer::ConfigDir.path + '/' + Config.logmaster['file'], 'a') do |f| n.times do f.puts "\n" end end if Config.logmaster['file'] end