Sha256: a637a900aa5c3cdf015e5b81e9a7239b1f3b58f8b83ab6cf19de5419b7dfe3fa
Contents?: true
Size: 368 Bytes
Versions: 2
Compression:
Stored size: 368 Bytes
Contents
<% path = File.join(Pathname.new(App.gem_source_path), 'admin_views', 'partials', 'image_element.html.erb') %> <% myerb = ERB.new(File.read(path), eoutvar: "@bidule") %> <% # Why %= don't work !? Need to do a loop concat... %> <% $stderr.puts @images %> <% (@images || []).each do |img| %> <% @img = img.gsub(Dir.pwd, "") %> <%= myerb.result(binding) %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hyde_admin-0.0.5 | bin/admin_views/partials/images_page.html.erb |
hyde_admin-0.0.4 | bin/admin_views/partials/images_page.html.erb |