alexkravets/eco-plus — pull request #1 by davehughes (2012-10-03 04:30:36+00:00)
Title: base.super implementation and tag regex relaxing

Hi Alex! I just came across this project today and it fits my need pretty well. I noticed that the existing implementation seemed to lack a mechanism like Django's {{ base.super }} for inserting the existing content of a parent block into a child, and I came up with a pretty simple implementation that gets the job done. It looks like:

```erb
<% block "example" %>
Default content
<% endblock %>
```

```erb
<% parent "layout" %>

<% block "example" %>
The parent's content is: <%= block.super %>
<% endblock>
```

I also noticed that the regexes for matching tags were pretty strict - single quoted arguments (as in `<% parent 'layout' %>)` were failing. I changed them to accept both single and double quotes.