Class: Regexp
- Inherits:
-
Object
- Object
- Regexp
- Defined in:
- lib/react_native_util/core_ext/regexp.rb
Instance Method Summary collapse
-
#match?(str) ⇒ Boolean
For portability to system Ruby TODO: Correct this.
Instance Method Details
#match?(str) ⇒ Boolean
For portability to system Ruby TODO: Correct this. The condition above is meaningless. We’re always overriding this method, even if it already exists. This is fine for now, but should be improved.
7 8 9 |
# File 'lib/react_native_util/core_ext/regexp.rb', line 7 def match?(str) !match(str).nil? end |