Commit 09213fed by liyijie

finder use specify eval_string

parent 28717d85
...@@ -90,9 +90,7 @@ module TalltyImportExport ...@@ -90,9 +90,7 @@ module TalltyImportExport
h[header[:json]][k] = val h[header[:json]][k] = val
elsif header[:finder] elsif header[:finder]
$SAFE = 2 $SAFE = 2
eval_string = header[:finder] + '(val)' h[k.to_sym] = eval header[:finder]
eval_val = eval eval_string
h[k.to_sym] = eval_val
else else
h[k.to_sym] = val h[k.to_sym] = val
end end
......
module TalltyImportExport module TalltyImportExport
VERSION = "1.0.18" VERSION = "1.0.19"
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment