Sha256: 2d6e56b629082f22249407931fe1291519e1ad8cfe5dfa7270f461cfe57c8239
Contents?: true
Size: 180 Bytes
Versions: 21
Compression:
Stored size: 180 Bytes
Contents
describe "Array#each" do it "yields each element to the block" do a = [] x = [1, 2, 3] x.each { |item| a << item }.should equal(x) a.should == [1, 2, 3] end end
Version data entries
21 entries across 21 versions & 1 rubygems