Module: PathList::Matchers::AllowAnyDir
- Defined in:
- lib/path_list/matchers/allow_any_dir.rb
Class Method Summary collapse
- .dir_only? ⇒ Boolean
- .file_only? ⇒ Boolean
-
.inspect ⇒ Object
:nocov:.
-
.match?(_) ⇒ Boolean
:nocov:.
- .shebang? ⇒ Boolean
- .squash_id ⇒ Object
Class Method Details
.dir_only? ⇒ Boolean
11 12 13 |
# File 'lib/path_list/matchers/allow_any_dir.rb', line 11 def dir_only? true end |
.file_only? ⇒ Boolean
15 16 17 |
# File 'lib/path_list/matchers/allow_any_dir.rb', line 15 def file_only? false end |
.inspect ⇒ Object
:nocov:
24 25 26 |
# File 'lib/path_list/matchers/allow_any_dir.rb', line 24 def inspect '#<AllowAnyDir>' end |
.match?(_) ⇒ Boolean
:nocov:
29 30 31 |
# File 'lib/path_list/matchers/allow_any_dir.rb', line 29 def match?(_) :allow end |
.shebang? ⇒ Boolean
19 20 21 |
# File 'lib/path_list/matchers/allow_any_dir.rb', line 19 def shebang? false end |
.squash_id ⇒ Object
7 8 9 |
# File 'lib/path_list/matchers/allow_any_dir.rb', line 7 def squash_id :allow end |