summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authortarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-05 19:06:08 +0000
committertarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-05 19:06:08 +0000
commit9ca738927293df1c7a2a1ed7e2d6cf89527b5438 (patch)
treeca0329dafd191b1b315e7f3e5f90926cfa916487 /file.c
parent19dec2a19c25f4cfb2511c313fde969436437bd0 (diff)
range.c: Range#cover? accepts Range object. [Feature #14473]
* range.c (range_cover): add code for range argument. If the argument is a Range, check it is or is not covered by the reciver. If it can be treated as a sequence, this method treats it that way. * test/ruby/test_range.rb (class TestRange): add tests for this feature. This patch is written by Owen Stephens. thank you! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
0 files changed, 0 insertions, 0 deletions