Sha256: b4b2d62f41e5c6a419eef38c8a642b01fce357d933bf977312b9be8202b9ef29
Contents?: true
Size: 170 Bytes
Versions: 3
Compression:
Stored size: 170 Bytes
Contents
class MatchData # Returns a hash of named group matches. # # @return [Hash] {:name => "mathed-data"} def to_hash Hash[names.map(&:to_sym).zip(captures)] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tagen-2.0.2 | lib/tagen/core/re.rb |
tagen-2.0.1 | lib/tagen/core/re.rb |
tagen-2.0.0 | lib/tagen/core/re.rb |