0.0.12 • Published 11 years ago
Ruby.js 

Extend Ruby functions.
Document
How to use
Standard call
Ruby.uniq([1, 1]) -> [1]
Ruby.ord("ab") -> 97
Direct call
Ruby[2].Array.prototype.uniq.call([1, 1]) -> [1]
Ruby[2].String.prototype.ord.call("ab") -> 97
OOP Extended
Ruby(2);
[1, 1].uniq() -> [1]
"ab".ord() -> 97