Thewinator/bKit — Issue #6: Make .method and .property variants of .methods and .properties for Class()
Author: Thewinator
Created: 2012-03-01 17:46:04+00:00
State: open

A mixed example:

```javascript
B.Class(global, 'Animal')

//Implies public
.properties({
name: '',
description: ''
})

.property('readonly', 'stepsTaken', 0)

.methods('public', {

giveThis: function(){
return this;
},

giveThat: function(){
return 'that';
}

})

.method('private', 'doPrivateStuff', function(){
return 'Ooooh sneaky stuff';
})

.finalize();
```