Sha256: c4099f9168e873a55bfb901dc8f28b118a274601df7c97b86e300acc3cb01a7e
Contents?: true
Size: 365 Bytes
Versions: 54
Compression:
Stored size: 365 Bytes
Contents
# @type var x: Numeric x = _ = 1 integer_1 = Integer(x) integer_1.foo integer_2 = Integer("1") integer_2.foo class WithToInt def to_int; 1; end end integer_3 = Integer(WithToInt.new) integer_3.foo class WithToI def to_i; 1; end end integer_4 = Integer(WithToI.new) integer_4.foo integer_5 = Integer("10", 2) integer_5.foo Integer(Object.new) Integer(nil)
Version data entries
54 entries across 54 versions & 1 rubygems