Sha256: ac4fa2c8b4822a42471427f99038bc7db6b220b44c765a83a60da52efa144dfe
Contents?: true
Size: 219 Bytes
Versions: 70
Compression:
Stored size: 219 Bytes
Contents
describe "Numeric#-@" do it "returns self as a negative value" do 2.send(:-@).should == -2 (-2).should == -2 (-268435455).should == -268435455 (--5).should == 5 (-8).send(:-@).should == 8 end end
Version data entries
70 entries across 70 versions & 3 rubygems