[ruby-core:88872] [Ruby trunk Bug#15079] Documentation missing for Enumerator::Lazy#force

From: finch.parker@...
Date: 2018-09-05 19:22:24 UTC
List: ruby-core #88872
Issue #15079 has been reported by parker (Parker Finch).

----------------------------------------
Bug #15079: Documentation missing for Enumerator::Lazy#force
https://bugs.ruby-lang.org/issues/15079

* Author: parker (Parker Finch)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.1
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
This isn't a bug with the ruby language, but rather with the documentation. (At http://ruby-doc.org/core-2.5.1/Enumerator/Lazy.html)

Expected behavior:
There is documentation for the `#force` method for lazy enumerators.

Actual behavior:
The `#force` method is mentioned in the documentation of other methods, but there is no documentation for `#force` itself.

It looks like the method is defined here: https://github.com/ruby/ruby/blob/de13863a46f0fce4d62ab96c2b4d2ab5560889a5/enumerator.c#L2836

I'm not sure why there's no entry in the docs, let me know if there's anything I can help with here!



-- 
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>

In This Thread

Prev Next