RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

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!

Ruby : the "unless" keyword

You are probably familiar with the “if else” control flow but there are certain situations where there may be a visually better way to write these statements. Here we will discuss how you can achieve this via the unless keyword in Ruby and the different ways you can use it.

https://bootrails.com/blog/ruby-unless

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in