Method: RIEL::StringExt#_has_matchdata?

Defined in:
lib/riel/string.rb

#_has_matchdata?(md, idx) ⇒ Boolean

:stopdoc:

Returns:

  • (Boolean)


93
94
95
# File 'lib/riel/string.rb', line 93

def _has_matchdata? md, idx
  md && md[idx] && !md[idx].empty?
end