SassyHash
SassHash takes a normal ruby hash and maps is keys and values into Sass Values for injection into Sass maps.
Examples
::Sass::Script::Value::Map.new(SassyHash[:foo => :bar])
some_hash = {:foo => :bar}
::Sass::Script::Value::Map.new(SassyHash[some_hash])
Installation
Add this line to your application's Gemfile:
gem 'sassy_hash'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sassy_hash
Usage
TODO: Write usage instructions here
Contributing
- 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