This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 5f6a7eaef69db7aac0e8294e2c7e2e798a9b39b9
tree ffd0ccb966ee1cdff93c530a0c0dd67402b684fe
parent 88e8de479f7d76debc735da351f65c2a97c7780e
tree ffd0ccb966ee1cdff93c530a0c0dd67402b684fe
parent 88e8de479f7d76debc735da351f65c2a97c7780e
rouge /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
.gitmodules | ||
| |
.jsdoc_config | ||
| |
MIT-LICENSE | ||
| |
README.textile | ||
| |
src/ |
README.textile
Welcome to Rouge
His code not “functional” or “elegant.”
What do Code Monkey think?
— Jonathan Coulton, “Code Monkey”
Do Ruby’s stylish core and standard libraries make your JavaScript green with envy? Tart up that dowdy JavaScript — put on some Rouge.

Rouge is a JavaScript implementation of important parts of the Ruby core library.
Usage
Rouge makes your JavaScript look and feel more like Ruby while preserving sound JavaScript style.
| JavaScript | Rouge | Ruby |
|---|---|---|
|
|
|
|
|
|
|
|
|
You should have a look at the documentation.
Test coverage
Rouge has around 500 executable specifications authored using the Screw.Unit framework. Run the specs by opening src/spec/suite.html. (Firefox works best for this.)
Credits
Rouge’s author is Nils Jonsson. Released under the MIT License.









