Bug #9210

Adding extra example in docs

Added by Steve Klabnik about 1 year ago. Updated about 1 year ago.

[ruby-core:58847]
Status:Closed
Priority:Normal
Assignee:Zachary Scott
ruby -v:ruby-head Backport:1.9.3: DONTNEED, 2.0.0: DONE, 2.1: DONE

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 about 1 year ago

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

Revision 44463
Added by Ayumu AIZAWA about 1 year ago

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

History

#1 Updated by Zachary Scott about 1 year ago

  • Status changed from Open to Assigned

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

#2 Updated by Ayumu AIZAWA about 1 year 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 Updated by Usaku NAKAMURA about 1 year 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 Updated by Tomoyuki Chikanaga about 1 year 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 Updated by Yui NARUSE about 1 year 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