FlagIconsRails --- This project integrates [https://github.com/lipis/flag-icon-css](https://github.com/lipis/flag-icon-css) in a Ruby Gem but only the sass version. **THIS GEM IS IN EARLY BETA STATE SO USE AT YOUR OWN RISK** ### Installation In your Gemfile include: ```ruby gem 'flag-icons-rails' ``` And then execute: ```sh bundle install ``` Import the FlagIconsRails styles in your `app/assets/stylesheets/application.scss`. ```scss @import "flag-icon"; ``` #### Plain usage In your view: ```html ``` ```html ``` #### Rails Helper usage In your view: ```ruby flag_icon(:it) # => ``` ```ruby flag_icon(:it, true) # => ``` ```ruby flag_icon(:it, id: 'my-flag', class: 'strong') # => ``` ### Thanks * [lipis/flag-icon-css](https://github.com/lipis/flag-icon-css) for flags-icon-css * [flag-icon-sass gem](https://github.com/cfiorini/flag-icon-sass) for gem this one is based on