Sha256: d69b72ea172f4bd26605dbde010f80f9ff1e4fef52e18a2aecd16b674986f1fc

Contents?: true

Size: 250 Bytes

Versions: 17

Compression:

Stored size: 250 Bytes

Contents

<% collection.each.with_index do |obj, index| -%>
  <%= builder.render_js('object', template_type: :layout, object: obj, locals: local_assigns.merge(var: "#{name}#{index}")) do |obj, var| %>
    <%= yield(obj, var) rescue nil %>
  <% end %>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
amcharts.rb-3.11.2.17 app/views/amcharts/_collection.erb
amcharts.rb-3.11.2.16 app/views/amcharts/_collection.erb
amcharts.rb-3.11.2.14 app/views/amcharts/_collection.erb
amcharts.rb-3.11.1.14 app/views/amcharts/_collection.erb
amcharts.rb-3.4.8.0 app/views/amcharts/_collection.erb
amcharts.rb-3.4.7.5 app/views/amcharts/_collection.erb
amcharts.rb-3.4.7.4 app/views/amcharts/_collection.erb
amcharts.rb-3.4.7.3 app/views/amcharts/_collection.erb
amcharts.rb-3.4.7.2 app/views/amcharts/_collection.erb
amcharts.rb-3.4.7.1 app/views/amcharts/_collection.erb
amcharts.rb-3.4.7.0 app/views/amcharts/_collection.erb
amcharts.rb-3.2.0.2 app/views/amcharts/_collection.erb
amcharts.rb-3.2.0.1 app/views/amcharts/_collection.erb
amcharts.rb-3.2.0.0 app/views/amcharts/_collection.erb
amcharts.rb-3.1.1.3 app/views/amcharts/_collection.erb
amcharts.rb-3.1.1.1 app/views/amcharts/_collection.erb
amcharts.rb-3.1.1.0 app/views/amcharts/_collection.erb