Using insert, I push values to an Array as:
insert
Array
myarray=[22,33,44] myarray.insert(0,02) # => [2,22,33,44]
If do the fo
If the number has a zero in front of it, ruby treats it as an octal number (base 8)
You can do similar with binary/hexadecimal too
0x20 => 32 (hexadecimal) 020 => 16 (octal) 0b10 => 2 (binary) 080 => Invalid octal digit