Project

General

Profile

Actions

Bug #15079

closed

Documentation missing for Enumerator::Lazy#force

Added by parker (Parker Finch) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:88872]

Description

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!

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 5 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r64645.


enumerator.c: [DOC] Enumerator::Lazy#force [ci skip]

added documentation of Enumerator::Lazy#force, just to clarify that it
is an alias of an inherited method. [ruby-core:88872] [Bug #15079]

Actions

Also available in: Atom PDF

Like0
Like0