Class: GitShizzle::IndexSpecifications::Base

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

Direct Known Subclasses

Everything, ExclusiveRange, File, Range

Instance Method Summary collapse

Instance Method Details

#include?(index) ⇒ Boolean

Returns:

  • (Boolean)


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

def include?(index)
  false
end

#matchesObject



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

def matches
  @matches ||= []
end

#register_match(index) ⇒ Object



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

def register_match(index)
  matches << index
end

#unmatchedObject



17
18
# File 'lib/git_shizzle/index_specifications/base.rb', line 17

def unmatched
end