Sha256: e4b20e612340910fe717dfa8fae33510a97dc34567a4f71112f6d495c7689e78
Contents?: true
Size: 227 Bytes
Versions: 52
Compression:
Stored size: 227 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe "Regexp#source" do it "returns the original string of the pattern" do /ab+c/ix.source.should == "ab+c" /x(.)xz/.source.should == "x(.)xz" end end
Version data entries
52 entries across 52 versions & 2 rubygems