Project

General

Profile

« Previous | Next » 

Revision 6bedbf46

Added by mame (Yusuke Endoh) almost 5 years ago

numeric.c: Extend Integer#[] to support range arguments

0b01001101[2, 4]  #=> 0b0011
0b01001100[2..5]  #=> 0b0011
0b01001100[2...6] #=> 0b0011
    ^^^^

[Feature #8842]