Project

General

Profile

Actions

Bug #20087

closed

Uninitialized instance variable warning - obsolete documentation

Added by semaperepelitsa (Simon Perepelitsa) 4 months ago. Updated 4 months ago.

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

Description

This warning got removed from Ruby 3.0: https://bugs.ruby-lang.org/issues/17055

But the documentation (ruby/doc/syntax/assignment.rdoc@master) still says:

An uninitialized instance variable has a value of +nil+. If you run Ruby with
warnings enabled, you will get a warning when accessing an uninitialized
instance variable.

Updated by jeremyevans0 (Jeremy Evans) 4 months ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0