src/components/meta/Property/Methods.js
function(name, property) {
        if (!(name in this._methods)) {
            throw new Error('Method "' + name + '" does not exist!');
        }
        var method = this._methods[name](property);

        if (_.isFunction(method)) {
            method = {
                name: this.getMethodName(property, name),
                body: method
            }
        }
        return method;
    }
function(name, property) {
        if (!(name in this._methods)) {
            throw new Error('Method "' + name + '" does not exist!');
        }
        var method = this._methods[name](property);

        if (_.isFunction(method)) {
            method = {
                name: this.getMethodName(property, name),
                body: method
            }
        }
        return method;
    }
function ( name , property ) { if ( ! ( name in this . _methods ) ) { throw new Error ( 'Method "' + name + '" does not exist!' ) ; } var method = this . _methods [ name ] ( property ) ; if ( _ . isFunction ( method ) ) { method = { name : this . getMethodName ( property , name ) , body : method } } return method ; }
Creates method for specified property

@param {string} name      Method name
@param {string} property  Property name

@returns {function|object} Function or hash with 'name' and 'body' fields

@throws {Error} if method does not exist

@this {metaProcessor}
Creates method for specified property