jcoglan / js.class

Implementation of the core of Ruby's object system in JavaScript.

This URL has Read+Write access

js.class / README.markdown
100644 31 lines (19 sloc) 0.878 kb

JS.Class - Ruby-style JavaScript

http://jsclass.jcoglan.com

JS.Class is a JavaScript library for building object-oriented programs using Ruby idioms. It implements Ruby's core object/module/class system in JavaScript, as well as several standard Ruby libraries and various other extensions.

Distribution files

The distribution contains the following files:

  • core.js - contains Class, Module, Kernel, Singleton and Interface
  • loader.js - everything from core.js, plus the Package system and dependency data for the standard library
  • stdlib.js - the whole standard library in one file

The remaining files should be self-explanatory; each contains a single piece of the standard library; see the website for documentation.

License

Distributed under the MIT license. Copyright (c) 2007-2009 James Coglan