summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-04-28 23:24:09 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-04-28 23:40:57 +0900
commit6bedbf462544a7917fdc8d8c44276079a6e156cf (patch)
treef1adf82ecab59b605930a6321b119a80f2e85d72 /include/ruby
parentcb550246136b90a63b4f75f5e7cfaccb9da08eda (diff)
numeric.c: Extend Integer#[] to support range arguments
```` 0b01001101[2, 4] #=> 0b0011 0b01001100[2..5] #=> 0b0011 0b01001100[2...6] #=> 0b0011 ^^^^ ```` [Feature #8842]
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions