Sha256: c8e6ee8537fa263fb8b6ca1b039c373babe28eed1b6e79ff7488d936ccea5403
Contents?: true
Size: 267 Bytes
Versions: 33
Compression:
Stored size: 267 Bytes
Contents
describe "String#chop" do it "returns a new string with the last character removed" do "hello\n".chop.should == "hello" "hello".chop.should == "hell" end it "returns an empty string when applied to an empty string" do "".chop.should == "" end end
Version data entries
33 entries across 33 versions & 1 rubygems