Sha256: 1958b585f1c2e681557c3051acb65a2b14b39bee0af07347f5850bf7aeef2b4b
Contents?: true
Size: 231 Bytes
Versions: 52
Compression:
Stored size: 231 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe "MatchData#captures" do it "returns an array of the match captures" do /(.)(.)(\d+)(\d)/.match("THX1138.").captures.should == ["H","X","113","8"] end end
Version data entries
52 entries across 52 versions & 2 rubygems