useful rails extentions for ZURB's Foundation framework version 5
Add this line to your application's Gemfile:
gem 'rails_foundation_extention', git: 'git://github.com/maland/rails_foundation_extention.git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails_foundation_extention
Requires Ruby 1.9.2 or later.
adds following helper methods to your application
this
<%= r 'your_classes' do %>
…your content…
<% end %>
generates that
<div class="row your_classes">
…your content…
</div>
this
<%= c 'your_classes' do %>
…your content…
<% end %>
generates that
<div class="column your_classes">
…your content…
</div>
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request