https://github.com/darkleaf/ruby-object-model
https://github.com/darkleaf/ruby-object-model
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/darkleaf/ruby-object-model
- Owner: darkleaf
- Archived: true
- Created: 2014-04-17T21:02:59.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-18T07:46:29.000Z (almost 12 years ago)
- Last Synced: 2025-03-21T15:23:48.945Z (11 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```javascript
var TestClass = Class.send('new', Object, function(){
this.define_method('foo', function(){
return 'foo';
});
});
var test = TestClass.send('new');
console.log(test.send('foo'));
//#=> foo
```