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.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
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