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: 57,493 of 188,757
Downloads: 18,585
Daily
Ranking: 42,349 of 188,742
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 15,175 | 129,686 | builderator |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,119,417,231 | bundler |
| 6,667 | 710,791 | thor-scmversion |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | jmanero |