lib/altshift/core/class.js
function (object) {
        var methodName;

        methodName = this.test(object, true);
        if (methodName !== true) {
            throw new exports.NotImplementedError({
                code: 'interface',
                message: 'Object %(object) does not implement %(interface)#%(method)()',

                //Additional information
                interface: this.name,
                object: object,
                method: methodName
            });
        }
        return this;
    }
function (object) {
        var methodName;

        methodName = this.test(object, true);
        if (methodName !== true) {
            throw new exports.NotImplementedError({
                code: 'interface',
                message: 'Object %(object) does not implement %(interface)#%(method)()',

                //Additional information
                interface: this.name,
                object: object,
                method: methodName
            });
        }
        return this;
    }
function ( object ) { var methodName ; methodName = this . test ( object , true ) ; if ( methodName !== true ) { throw new exports . NotImplementedError ( { code : 'interface' , message : 'Object %(object) does not implement %(interface)#%(method)()' , //Additional information interface : this . name , object : object , method : methodName } ) ; } return this ; }
Throw error if object does not have all methods

@param {Object} object
@return this
Throw error if object does not have all methods