<ruby> add refactoring simplify conditionals expressions