What's nil? nil is an instance of NilClass. It's a special Ruby object used to represent the absence of any value. And it also behaves like false when used in a conditional statement. What's more, there is only one nil object, whose object_id is alwa...

Markdown supported · ⌘↵ to post
No responses yet.