Skip to content

Instantly share code, notes, and snippets.

@jcoglan
jcoglan / ruby.js
Last active March 28, 2016 12:27
'use strict';
var Object_create, Object_assign, Module, Include, Kernel, Class;
var hasOwnProperty = Object.prototype.hasOwnProperty;
Object_create = Object.create || function(prototype) {
var f = function() {};
f.prototype = prototype;
return new f();