Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Implementation of the core of Ruby's object system in JavaScript.
JavaScript HTML Other
Pull request Compare This branch is 815 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
site
source
test
.gitignore
CHANGELOG
Jakefile
MIT-LICENSE
README.markdown
jake.yml
loader.js

README.markdown

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

Something went wrong with that request. Please try again.