Ruby Wisp
Ruby bridge for wisp compiler. Integrates with Rails 4.0 and better.
Installation
Add this line to your application's Gemfile:
gem 'ruby-wisp', '~> 1.0.0.beta1', require: 'wisp'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby-wisp
Usage
require 'wisp'
Wisp.compile "(:foo bar)"
# => "(bar || 0)[\"foo\"]"
Wisp.compile File.open "app.wisp"
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