Sha256: b1b91ae8c77cb11d65057c305d1cd870638d4759a4eeb507991ec9b6a03a2448

Contents?: true

Size: 247 Bytes

Versions: 19

Compression:

Stored size: 247 Bytes

Contents

<%
  passed_locals = { }
  passed_locals[:foo] = @local_foo if @local_foo
  passed_locals[:bar] = @local_bar if @local_bar
  passed_locals[:baz] = @local_baz if @local_baz
%><%= render :partial => 'partial_with_locals', :locals => passed_locals %>

Version data entries

19 entries across 16 versions & 2 rubygems

Version Path
erector-rails4-0.2.0 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.1.3 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.1.2 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-0.10.0 spec/rails_root/app/views/test/erector_with_locals_from_erb.html.erb
erector-0.10.0 spec/rails2/rails_app/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.1.1 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.1.0 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.0.7 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.0.6 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.0.5 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.0.4 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.0.3 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.0.2 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-rails4-0.0.1 spec/dummy/app/views/test/erector_with_locals_from_erb.html.erb
erector-0.9.0 spec/rails_root/app/views/test/erector_with_locals_from_erb.html.erb
erector-0.9.0 spec/rails2/rails_app/app/views/test/erector_with_locals_from_erb.html.erb
erector-0.9.0.pre1 spec/rails_root/app/views/test/erector_with_locals_from_erb.html.erb
erector-0.9.0.pre1 spec/rails2/rails_app/app/views/test/erector_with_locals_from_erb.html.erb
erector-0.8.3 spec/rails2/rails_app/app/views/test/erector_with_locals_from_erb.html.erb