lib/jcompiler/provider.rb in jcompiler-0.1.106 vs lib/jcompiler/provider.rb in jcompiler-0.1.107
- old
+ new
@@ -1,8 +1,8 @@
class Jcompiler::Provider
def array!(arr, &block)
item_name = block.parameters[0][1].to_s
#src = block.call(item_name)
#'"[#{eval(arr.to_s)}]"'
- %{"[\\"\#{"a"}\\"]"}
+ %{"[\#{#{arr}.length}]"}
end
end