Sha256: 89a0158e8ff1f9d7f01167d3a0932c57eba30ab13a63d638dbef8b49304159c9
Contents?: true
Size: 145 Bytes
Versions: 20
Compression:
Stored size: 145 Bytes
Contents
class MatchData # group-name regexp # @return [Hash] {:name => "mathed-data"} def to_hash Hash[names.map(&:to_sym).zip(captures)] end end
Version data entries
20 entries across 20 versions & 1 rubygems