Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby wrapper for coffee-script
Ruby
Branch: master
Pull request Compare This branch is 67 commits behind josh:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
LICENSE
README.md
Rakefile
coffee-script.gemspec

README.md

Ruby CoffeeScript

Ruby CoffeeScript is a thin wrapper around the coffee binary.

CoffeeScript.compile File.open("script.coffee")

Dependencies

This is not the CoffeeScript parser. This means you need to install node and coffee.

If your coffee binary is in a weird location, you can specify the path by hand.

CoffeeScript.coffee_bin = "/usr/local/bin/coffee"
Something went wrong with that request. Please try again.