From: sawadatsuyoshi@... Date: 2019-03-11T08:47:30+00:00 Subject: [ruby-core:91766] [Ruby trunk Misc#15654] Documentation for Complex is wrong or misleading Issue #15654 has been reported by sawa (Tsuyoshi Sawada). ---------------------------------------- Misc #15654: Documentation for Complex is wrong or misleading https://bugs.ruby-lang.org/issues/15654 * Author: sawa (Tsuyoshi Sawada) * Status: Open * Priority: Normal * Assignee: ---------------------------------------- The documentation for `Complex` https://ruby-doc.org/core-2.6/Complex.html says or implies that a complex can be created by literal like `2+1i`, but that is actually calling the method `+` on receiver `2` with argument `1i`. The description should be changed to make it clear that `2+ 1i` is not a literal but is applying a method. -- https://bugs.ruby-lang.org/ Unsubscribe: