Project

General

Profile

Bug #9210

Adding extra example in docs

Added by Steve Klabnik almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
ruby -v:
ruby-head
[ruby-core:58847]

Description

There's no documentation for the Module#class_variable method when using the parameter.

Thanks to Alexander Popov for suggesting this patch.

https://github.com/steveklabnik/ruby/commit/8290b41d79110691d4d52aae1ead1c7038ee700a.patch

or

https://github.com/steveklabnik/ruby/commit/8290b41d79110691d4d52aae1ead1c7038ee700a.diff

Associated revisions

Revision 44463
Added by Ayumu AIZAWA over 2 years ago

  • variable.c: Adding extra example in docs. [Bug #9210]

Revision 44463
Added by Ayumu AIZAWA over 2 years ago

  • variable.c: Adding extra example in docs. [Bug #9210]

Revision 44463
Added by Ayumu AIZAWA over 2 years ago

  • variable.c: Adding extra example in docs. [Bug #9210]

History

#1 [ruby-core:58848] Updated by Zachary Scott almost 3 years ago

  • Status changed from Open to Assigned

Thanks for the report! I will look into this soon.

#2 Updated by Ayumu AIZAWA over 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r44463.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • variable.c: Adding extra example in docs. [Bug #9210]

#3 [ruby-core:60498] Updated by Usaku NAKAMURA over 2 years ago

  • Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: DONTNEED, 2.0.0: REQUIRED, 2.1: REQUIRED

#4 [ruby-core:60771] Updated by Tomoyuki Chikanaga over 2 years ago

  • Backport changed from 1.9.3: DONTNEED, 2.0.0: REQUIRED, 2.1: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: REQUIRED

r44463 and r44464 were backported to ruby_2_0_0 at r44984.

#5 [ruby-core:60982] Updated by Yui NARUSE over 2 years ago

  • Backport changed from 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: DONE

r45115

Also available in: Atom PDF