lib/jcompiler/provider.rb in jcompiler-0.1.89 vs lib/jcompiler/provider.rb in jcompiler-0.1.90
- old
+ new
@@ -2,10 +2,10 @@
def initialize(bind)
@bind = bind
end
def array!(arr, &block)
- File.open('/tmp/hoge') do |f|
+ File.open('/tmp/hoge', 'w') do |f|
f.puts(block.call(1))
end
puts block.to_source
"[]"
end