overmapper.rb
def parse_seen(path)
  data = File.open(path) do |fh|
    fh.each_line do |line|
      next unless line.match(/L #{@conf[:level]}/)
      break fh.readline.chop
    end
  end

  parse_seen_data(data)
end
# Extract chosen level raw data from a seen file and call the data parsing
# function on it
Extract chosen level raw data from a seen file and call the data parsing
function on it
Extract chosen level raw data from a seen file and call the data parsing function on it
def parse_seen(path)
  data = File.open(path) do |fh|
    fh.each_line do |line|
      next unless line.match(/L #{@conf[:level]}/)
      break fh.readline.chop
    end
  end
  parse_seen_data(data)
end
def parse_seen ( path ) data = File . open ( path ) do | fh | fh . each_line do | line | next unless line . match ( / L  #{ @conf [ :level ] } / ) break fh . readline . chop end end parse_seen_data ( data ) end
Extract chosen level raw data from a seen file and call the data parsing
function on it
Extract chosen level raw data from a seen file and call the data parsing function on it
path