[RUBY] [Note] About nil

I will write an article as a substitute for a memo for studying.

nil There is an object called "nil" that indicates that it is empty. You can use it anytime by writing nil.

value = nil

You can check if an object is nil with a method called nil ?.

> value = nil
> value.nil?
=> true

Recommended Posts

[Note] About nil
A note about Java GC
Note
A note about the scope
Note
A private note about AtomicReference
About =
A note about RocksDB's Column Families
About method.invoke
About Kotlin
About Hinemos
About inheritance
About params
About Docker
About Rails 6
About form_for
About enum
About polymorphism
About Optional
About hashes
About JitPack
About Dockerfile
[Note] Dockerfile
About this ()
About devise
About encapsulation
About Docker
About JAVA_HOME
About active_hash
About static
About exceptions
StringBuilder Note
About scope
[Maven] About Maven
A note about adding Junit 4 to Android Studio
[Note] About the introduction to Swift practice Chapter 11
A note about the Rails and Vue process