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