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,701 of 198,430
Downloads: 19,300
Daily
Ranking: 20,224 of 198,401
Downloads: 16
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 16,048 | 136,137 | builderator |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,939,528,074 | bundler |
| 7,250 | 728,763 | thor-scmversion |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | jmanero |