Class: FastIgnore::Walkers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/fast_ignore/walkers/base.rb

Direct Known Subclasses

FileSystem, GitignoreCollectingFileSystem

Instance Method Summary collapse

Constructor Details

#initialize(rule_groups, follow_symlinks:) ⇒ Base

Returns a new instance of Base.



6
7
8
9
10
11
# File 'lib/fast_ignore/walkers/base.rb', line 6

def initialize(rule_groups, follow_symlinks:)
  warn 'FastIgnore deprecation: follow_symlinks argument is deprecated' if follow_symlinks

  @follow_symlinks = follow_symlinks
  @rule_groups = rule_groups
end