Module: PathList::Matchers::Unmatchable

Defined in:
lib/path_list/matchers/unmatchable.rb

Class Method Summary collapse

Class Method Details

.dir_only?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/path_list/matchers/unmatchable.rb', line 7

def dir_only?
  false
end

.file_only?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/path_list/matchers/unmatchable.rb', line 11

def file_only?
  false
end

.inspectObject

:nocov:



20
21
22
# File 'lib/path_list/matchers/unmatchable.rb', line 20

def inspect
  '#<Unmatchable>'
end

.match?(_) ⇒ Boolean

:nocov:

Returns:

  • (Boolean)


25
26
27
# File 'lib/path_list/matchers/unmatchable.rb', line 25

def match?(_)
  false
end

.shebang?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/path_list/matchers/unmatchable.rb', line 15

def shebang?
  false
end