Class: Regexp

Inherits:
Object show all
Defined in:
lib/ruby/commons/core_ext/regexp/match.rb

Instance Method Summary collapse

Instance Method Details

#mp_match?(*several_variants) ⇒ Boolean

TODO

Returns:

  • (Boolean)


4
5
6
# File 'lib/ruby/commons/core_ext/regexp/match.rb', line 4

def mp_match?(*several_variants)
  !match(*several_variants).nil?
end