src/components/meta/Methods.js
function(object, methods) {
        _.each(methods, function(method, name) {
            if (!_.isFunction(method)) {
                throw new Error('Method "' + name + '" must be a function!');
            }
            object[name] = method
        });
    }
function(object, methods) {
        _.each(methods, function(method, name) {
            if (!_.isFunction(method)) {
                throw new Error('Method "' + name + '" must be a function!');
            }
            object[name] = method
        });
    }
function ( object , methods ) { _ . each ( methods , function ( method , name ) { if ( ! _ . isFunction ( method ) ) { throw new Error ( 'Method "' + name + '" must be a function!' ) ; } object [ name ] = method } ) ; }
Applies methods to specified object

@param {object} object  Object for methods applying
@param {object} methods Hash of methods

@this {Error} if method is not a funciton

@this {metaProcessor}
Applies methods to specified object