Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1 +1,7 @@
|
|||
puts "object is null" if object.nil?
|
||||
puts "@object is nil" if @object.nil? # instance variable
|
||||
|
||||
puts "$object is nil" if $object.nil? # global variable, too
|
||||
|
||||
# It recognizes as the local variable even if it isn't executed.
|
||||
object = 1 if false
|
||||
puts "object is nil" if object.nil?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue