class Jcompiler::Provider def initialize(bind) @bind = bind end def array!(arr, &block) File.open('/tmp/hoge') do |f| f.puts(block.call(1)) end puts block.to_source "[]" end private attr_reader :bind end