lib/inireader/base.rb in inireader-0.1.1 vs lib/inireader/base.rb in inireader-0.1.2

- old
+ new

@@ -28,10 +28,10 @@ elsif ( matchdata = line.match(/^([^=]*)=(.*)$/) ) current_section[matchdata[1].to_sym] = matchdata[2].to_s elsif line.strip == "" next else - raise Exception("Could not parse line: #{line}") + raise Exception.new("Could not parse line: #{line}") end end end end \ No newline at end of file