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: 58,418 of 192,704
Downloads: 18,856
Daily
Ranking: 70,322 of 192,689
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 15,581 | 132,256 | builderator |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,401,824,266 | bundler |
| 6,853 | 715,370 | thor-scmversion |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | jmanero |