Class: Metamorpher::Matcher::NoMatch

Inherits:
Object
  • Object
show all
Extended by:
Attributable
Defined in:
lib/metamorpher/matcher/no_match.rb

Instance Method Summary collapse

Instance Method Details

#combine(_) ⇒ Object



13
14
15
# File 'lib/metamorpher/matcher/no_match.rb', line 13

def combine(_)
  NoMatch.new
end

#matches?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/metamorpher/matcher/no_match.rb', line 9

def matches?
  false
end