public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Added file and line information for evals in router.rb.
Wed Feb 13 17:51:34 -0800 2008
commit  d2c44ce888d7c85caa41b7e0e9df816f87f1bdce
tree    256f7a13d4cb282d2ed13c3efd39d133d68a9eb4
parent  39fa1cc46deac8dffa3806d971d6482700f54b9f
...
51
52
53
54
 
55
56
57
...
51
52
53
 
54
55
56
57
0
@@ -51,7 +51,7 @@ module Merb
0
       # DOC
0
       def compile
0
         puts "compiled route: #{compiled_statement}" if $DEBUG
0
- meta_def(:match, &eval(compiled_statement))
0
+ meta_def(:match, &eval(compiled_statement, binding, __FILE__, __LINE__))
0
       end
0
 
0
       # DOC

Comments

    No one has commented yet.