Class: GitShizzle::IndexSpecifications::Everything

Inherits:
Base
  • Object
show all
Defined in:
lib/git_shizzle/index_specifications/everything.rb

Instance Method Summary collapse

Methods inherited from Base

#matches, #register_match

Instance Method Details

#include?(index) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/git_shizzle/index_specifications/everything.rb', line 5

def include?(index)
  true
end

#inspectObject



13
14
15
# File 'lib/git_shizzle/index_specifications/everything.rb', line 13

def inspect
  self.class
end

#unmatchedObject



9
10
11
# File 'lib/git_shizzle/index_specifications/everything.rb', line 9

def unmatched
  []
end