True, False And Nil Objects In Ruby
Every expression and object in Ruby has a boolean value. True, false and nil are special in that they are not only keywords but are also objects which means we can do some interesting things with them.
Every expression and object in Ruby has a boolean value. True, false and nil are special in that they are not only keywords but are also objects which means we can do some interesting things with them.
Post a comment