# -*- encoding: utf-8 -*- module GitShizzle::IndexSpecifications class File < Base def initialize(index) assert_numeric index @index = index.to_i end def include?(index) @index == index end def unmatched ([] << @index) - matches end def inspect "#{self.class}: #{@index}" end end end