main
 1Module = require('./module')
 2Specification = require('./specification')
 3
 4module.exports = class WhereSpecification extends Module
 5  @include Specification
 6
 7  constructor: (condition) ->
 8    @condition = condition
 9
10  matches: (item) ->
11    for key in Object.keys(@condition)
12      return false if item[key] != @condition[key]
13    return true