Sha256: ccbf285606616f2c816723ba0f7027fcf19d94066137be2ddb3bff56b0a74758
Contents?: true
Size: 1.21 KB
Versions: 4
Compression:
Stored size: 1.21 KB
Contents
= iconoclast The Iconoclast gem provides an easy way to install iconsets (currently the Famfamfam 'silk' and 'flags' iconsets are included). = Installation The iconoclast gem is hosted on gemcutter.org, so you will first need to configure your gem system to pull from gemcutter: $ gem install gemcutter $ gem tumble Once you have configured gemcutter: $ gem install iconoclast = Usage Install iconsets into your rails app's public directory: $ cd /path/to/railsapp $ iconify Running iconify without any arguments installs the famfamfam silk iconset by default. You can specify additional iconsets as well: $ iconify --set=flags Once your icons are installed, activate the helper methods by adding the following line to your application_controller.rb: helper Iconoclast::IconHelper Then use the icons in your views: <%= icon 'name' %> <%= icon 'name', 'alt text' %> <%= icon 'name', 'alt text', { :border => 1 } %> == Copyright Copyright (c) 2009 Eric Dennis. See LICENSE for details. This package also contains iconsets from Famfamfam: http://www.famfamfam.com/lab/icons/ The Famfamfam iconsets are provided under the Creative Commons Attribution 2.5 License (http://creativecommons.org/licenses/by/2.5/).
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
iconoclast-0.1.4 | README.rdoc |
iconoclast-0.1.3 | README.rdoc |
iconoclast-0.1.2 | README.rdoc |
iconoclast-0.1.1 | README.rdoc |