Class: Regexp

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext.rb

Overview

Stolen from Active Support and changed a bit may in the future be substituted by facets version

Instance Method Summary collapse

Instance Method Details

#match?(*args) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/core_ext.rb', line 6

def match?(*args)
  !!match(*args)
end