File: matchdata_ext.rbs

package info (click to toggle)
ruby-simple-oauth 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: ruby: 1,722; makefile: 4; sh: 4
file content (6 lines) | stat: -rw-r--r-- 208 bytes parent folder | download
1
2
3
4
5
6
# Extension to MatchData for indexed access with Integer
class MatchData
  # Override [] to return non-nil String for Integer index
  # (when we know the group exists)
  def []: (Integer index) -> String
end