Issue #16813 has been reported by SampsonCrowley (Sampson Crowley).

----------------------------------------
Bug #16813: Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core
https://bugs.ruby-lang.org/issues/16813

* Author: SampsonCrowley (Sampson Crowley)
* Status: Open
* Priority: Normal
* ruby -v: starting at 2.6.1
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
## https://ruby-doc.org/core-2.7.1/Method.html#method-i-5B-5D
`meth[args, ...] вк obj` has the correct explanation, but contains the example for `#call` instead of `#[]`

## https://ruby-doc.org/core-2.7.1/Method.html#method-i-3E-3E
`meth >> g вк a_proc` has the correct example, but contains the explanation for `#<<` instead of `#>>`



---Files--------------------------------
Screenshot from 2020-04-23 15-45-25.png (43.6 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>