Well
BEM stuff for ActionView.
Usage
Use the DSL in your views. The following view...
<%= block :div, 'container' do %>
Text
<%= element :p, 'foreword' do %>
More text
<% end %>
<% end %>
...produces this HTML.
<div class="container">
Text
<p class="container__foreword">
More text
</p>
</div>
For more examples, including working with modifiers, see
the docs.
License
MIT.
Contribution
Contributions welcome! Create a pull request and we'll get back to you as soon as
possible. Open an issue to discuss anything big.
This project has a code of conduct, found in the root of this repo. Please read it
before contributing.