class Dir
- Dir
- Reference
- Object
Overview
Monkey patch Dir to add ignore methods
Included Modules
- Enumerable(String)
- Iterable(String)
Defined in:
ignore/core_ext.crClass Method Summary
-
.ignore(*patterns : String) : Ignore::Dir
Class method: patterns with current directory
-
.ignore(*, root : String) : Ignore::Dir
Class method: load from ignore files in current directory tree
-
.ignore(*, file : String, base : String = "") : Ignore::Dir
Class method: load from single file, current directory
Instance Method Summary
-
#ignore(*patterns : String) : Ignore::Dir
Instance method: returns an Ignore::Dir based on this Dir's path
-
#ignore(*, root : String) : Ignore::Dir
Instance method: load patterns from ignore files in this directory tree
-
#ignore(*, file : String, base : String = "") : Ignore::Dir
Instance method: load patterns from a single file
Class Method Detail
def self.ignore(*, root : String) : Ignore::Dir
#
Class method: load from ignore files in current directory tree
Class method: load from single file, current directory
Instance Method Detail
def ignore(*patterns : String) : Ignore::Dir
#
Instance method: returns an Ignore::Dir based on this Dir's path
def ignore(*, root : String) : Ignore::Dir
#
Instance method: load patterns from ignore files in this directory tree
Instance method: load patterns from a single file