0.6.1 • Published 9 years ago

ruby v0.6.1

Weekly downloads
1,761
License
ISC
Repository
github
Last release
9 years ago

Ruby-Node

Build Status

Helper methods from ruby ported to Node.

Ruby + Node

Getting Started

npm install ruby --save
let ruby = require('ruby');

let words = ruby.w('I am not throwing away my shot!');
words; // ['I', 'am', 'not', 'throwing', 'away', 'my', 'shot!']

ruby.puts(words);
// I
// am
// not
// throwing
// away
// my
// shot!
let ruby = require('ruby');
ruby.add_methods_to_string_prototype();

'stressed'.reverse; // 'desserts'

For more info, read the docs

Tests

npm t