Sha256: 012a6bd63f0c6977d507ebe36f7bc2d67b39fb7809689d3a8a6c8cc8d6305ab3
Contents?: true
Size: 357 Bytes
Versions: 135
Compression:
Stored size: 357 Bytes
Contents
describe :range_end, :shared => true do it "end returns the last element of self" do (-1..1).send(@method).should == 1 (0..1).send(@method).should == 1 ("A".."Q").send(@method).should == "Q" ("A"..."Q").send(@method).should == "Q" (0xffff...0xfffff).send(@method).should == 1048575 (0.5..2.4).send(@method).should == 2.4 end end
Version data entries
135 entries across 135 versions & 2 rubygems