diff options
author | Burdette Lamar <[email protected]> | 2020-05-15 16:11:42 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-15 14:11:42 -0700 |
commit | d46980798043463fa0622be3d787d5cda829cb37 (patch) | |
tree | 07462bb8e39036e9c10bc591102217f9d4dc6d41 /doc/implicit_conversion.rdoc | |
parent | a9b2014d26845bf7d6a63c8979e2a8d6e6cc6576 (diff) |
[CI skip] Enhance rdoc intro for Hash (#3056)
* Per @nobu review
* [CI skip] Enhance rdoc intro for Hash
* Tweak call-seq for Hash.new
* Tweak call-seq for Hash.new
* Minor corrections
* Respond to review
* Respond to review
* Respond to review
* Respond to review
* Fix chain exampmle
* Response to review
Notes
Notes:
Merged-By: drbrain <[email protected]>
Diffstat (limited to 'doc/implicit_conversion.rdoc')
-rw-r--r-- | doc/implicit_conversion.rdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/implicit_conversion.rdoc b/doc/implicit_conversion.rdoc index fae5973f5c..0c2a1d4971 100644 --- a/doc/implicit_conversion.rdoc +++ b/doc/implicit_conversion.rdoc @@ -28,7 +28,7 @@ This class is Array-convertible: class ArrayConvertible def to_ary - [:foo, 'bar', baz = 2] + [:foo, 'bar', 2] end end a = [] @@ -45,7 +45,7 @@ This class is not Array-convertible (method +to_ary+ takes arguments): class NotArrayConvertible def to_ary(x) - [:foo, 'bar', baz = 2] + [:foo, 'bar', 2] end end a = [] |