Class: Utils::ConfigFile::FileFinder
- Inherits:
-
BlockConfig
- Object
- BlockConfig
- Utils::ConfigFile::FileFinder
- Defined in:
- lib/utils/config_file.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from BlockConfig
config, inherited, #initialize, #to_ruby
Constructor Details
This class inherits a constructor from Utils::ConfigFile::BlockConfig
Instance Method Details
#prune?(basename) ⇒ Boolean
108 109 110 |
# File 'lib/utils/config_file.rb', line 108 def prune?(basename) Array(prune_dirs).any? { |pd| pd.match(basename.to_s) } end |
#skip?(basename) ⇒ Boolean
112 113 114 |
# File 'lib/utils/config_file.rb', line 112 def skip?(basename) Array(skip_files).any? { |sf| sf.match(basename.to_s) } end |