# File lib/dotenv/parser.rb, line 46 def call # Convert line breaks to same format lines = @string.gsub(/\r\n?/, "\n") # Process matches lines.scan(LINE).each do |key, value| @hash[key] = parse_value(value || "") end # Process non-matches lines.gsub(LINE, "").split(/[\n\r]+/).each do |line| parse_line(line) end @hash end