No description or website provided.
Ruby
Latest commit def2061 Nov 23, 2014 Christopher Kalafarski Version bump
Failed to load latest commit information.
lib Version bump Nov 23, 2014
vendor/assets Fix asset precompilation by explicitly using scss Jan 25, 2013
.gitignore Gem setup Apr 18, 2012
Gemfile Gem setup Apr 18, 2012
LICENSE License Apr 18, 2012
README.md Doc Apr 18, 2012
Rakefile Gem setup Apr 18, 2012
stateface-rails.gemspec Adding rails support Apr 18, 2012

README.md

Stateface::Rails

In application.css

*= require propublica/stateface

In your views

<p class='propublica-stateface'><%= 'ma'.to_stateface %></p>

will map a state abbreviation (CA, HI, MA, etc) to the corresponding letter StateFace uses.

Or create a span tag with the class for an abbreviation.

<%= stateface_tag('ma') %>

or use font-face: StateFace however you'd like