lib/gamefic/source/file.rb in gamefic-1.4.1 vs lib/gamefic/source/file.rb in gamefic-1.5.0

- old
+ new

@@ -14,10 +14,10 @@ if File.file?(abs_file) return Script::File.new(abs_file, path) end } } - raise "Script #{path} not found" + raise LoadError.new("cannot load script -- #{path}") end end end