Sha256: 5eb906621e22f6e6fcc1c3317de10eb8ee36cad3486de323b164b6b6510fa810
Contents?: true
Size: 274 Bytes
Versions: 6
Compression:
Stored size: 274 Bytes
Contents
<% @foo = capture do %> Capture Text Without Args <% end %> <%= @foo %> <% @struct = Struct.new( :value ) -%> <% @obj = @struct.new( "capture text from yielded object" )%> <% @foo2 = capture( @obj ) do |obj| %> BEFORE <%= obj.value %> AFTER <% end %> <%= @foo2 %>
Version data entries
6 entries across 6 versions & 1 rubygems