Module: FastIgnore::Matchers::AllowAnyDir
- Defined in:
- lib/fast_ignore/matchers/allow_any_dir.rb
Class Method Summary collapse
- .dir_only? ⇒ Boolean
- .file_only? ⇒ Boolean
-
.inspect ⇒ Object
:nocov:.
-
.match?(_) ⇒ Boolean
:nocov:.
- .squash(_) ⇒ Object
- .squash_id ⇒ Object
- .weight ⇒ Object
Class Method Details
.dir_only? ⇒ Boolean
11 12 13 |
# File 'lib/fast_ignore/matchers/allow_any_dir.rb', line 11 def dir_only? true end |
.file_only? ⇒ Boolean
15 16 17 |
# File 'lib/fast_ignore/matchers/allow_any_dir.rb', line 15 def file_only? false end |
.inspect ⇒ Object
:nocov:
28 29 30 |
# File 'lib/fast_ignore/matchers/allow_any_dir.rb', line 28 def inspect '#<AllowAnyDir>' end |
.match?(_) ⇒ Boolean
:nocov:
33 34 35 |
# File 'lib/fast_ignore/matchers/allow_any_dir.rb', line 33 def match?(_) :allow end |
.squash(_) ⇒ Object
19 20 21 |
# File 'lib/fast_ignore/matchers/allow_any_dir.rb', line 19 def squash(_) self end |
.squash_id ⇒ Object
7 8 9 |
# File 'lib/fast_ignore/matchers/allow_any_dir.rb', line 7 def squash_id :allow_any_dir end |
.weight ⇒ Object
23 24 25 |
# File 'lib/fast_ignore/matchers/allow_any_dir.rb', line 23 def weight 0 end |