class

Dir

Inherits Iterable < Enumerable < Reference < Object

Monkey patch Dir to add ignore methods

Class methods

ignore(*patterns : String) : Ignore::Dir

Class method: patterns with current directory

Source
ignore(*, root : String) : Ignore::Dir

Class method: load from ignore files in current directory tree

Source
ignore(*, file : String, base : String = "") : Ignore::Dir

Class method: load from single file, current directory

Source

Instance methods

ignore(*patterns : String) : Ignore::Dir

Instance method: returns an Ignore::Dir based on this Dir's path

Source
ignore(*, root : String) : Ignore::Dir

Instance method: load patterns from ignore files in this directory tree

Source
ignore(*, file : String, base : String = "") : Ignore::Dir

Instance method: load patterns from a single file

Source