lib/jcompiler/provider.rb in jcompiler-0.1.91 vs lib/jcompiler/provider.rb in jcompiler-0.1.93
- old
+ new
@@ -1,17 +1,7 @@
class Jcompiler::Provider
- def initialize(bind)
- @bind = bind
- end
-
def array!(arr, &block)
- File.open('/tmp/hoge', 'w') do |f|
- f.puts(block.call(1))
- end
- puts block.to_source(attached_to: :block)
- "[]"
- end
+ #item_name = block.parameters[0][1].to_s
- private
-
- attr_reader :bind
+ "\"[]\""
+ end
end