Sha256: be29bafcafc03eb906a500bb14f6f3eb4911b23e25fb019a87d15c517766d6c0
Contents?: true
Size: 476 Bytes
Versions: 24
Compression:
Stored size: 476 Bytes
Contents
nums = 1 append(nums, 2) append(nums, 3, 4, 5) body foo: nums foo: nums[0] foo: nums[4] nums = 1 push(nums, 2) body foo: ret = push(nums, 3, 4, 5) foo: nums[0] foo: nums[4] nums = 3 body foo: unshift(nums, 2, 1) foo: nums list = () body foo: push(list, foo, bar, baz) foo: push(list, foo, bar, baz) foo: list list = (one 1) push(list, two 2, three 3) body foo: list func(list) push(list, 3,4,5) nums = 1 2 func(nums) body foo: nums
Version data entries
24 entries across 24 versions & 1 rubygems