Categories: None [Edit]
ignorefile
# Ignorefile
Compile a set of ignore statements from files and code.
## Usage
```ruby
reqire 'ignorefile'
cookbook_files = Dir.glob('**/{*,.*}')
ignore = IgnoreFile.new('.gitignore', 'chefignore', ['.git/*'])
ignore.apply!(cookbook_files)
```
## Thanks
This gem is based upon Seth Vargo's [buff-ignore](https://github.com/sethvargo/buff-ignore).
Total
Ranking: 59,976 of 199,228
Downloads: 19,359
Daily
Ranking: 87,414 of 199,184
Downloads: 4
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 16,108 | 136,723 | builderator |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 4,015,435,206 | bundler |
| 7,278 | 730,279 | thor-scmversion |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | jmanero |