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,250 of 197,010
Downloads: 19,230
Daily
Ranking: 75,793 of 196,979
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 15,920 | 135,656 | builderator |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,788,186,650 | bundler |
| 7,185 | 725,667 | thor-scmversion |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | jmanero |