ruby

Helper methods from ruby ported to Node.

  • ruby

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ruby
230.6.18 years ago10 years agoMinified + gzip package size for ruby in KB

Readme

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