Skip to content

Instantly share code, notes, and snippets.

@anandsuresh
anandsuresh / ruby.js
Last active August 29, 2015 14:22 — forked from jcoglan/ruby.js
'use strict';
var Object_create, extend, Module, Include, Kernel, Class;
var hasOwnProperty = Object.prototype.hasOwnProperty;
if (typeof Object.create === 'function')
Object_create = Object.create;
else
Object_create = function(prototype) {