ruby

0.6.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i ruby

Weekly Downloads

2,873

Version

0.6.1

License

ISC

Last publish

Collaborators

  • bladebarringer