Let's say I have the following four `unless` statements in a row. At first I thought about using `if` and `elsif` statements and negate the condition but I'm not sure which way is suitable/readable/good-practice. unless @params.include?(:js_code) || @params.include?(:code_url) raise BadParameters, 'You must include at least one...' end unless @params.include?(:compilation_level) raise BadParameters, 'The :compilation_level...' end unless @params.include?(:output_format) raise BadParameters, 'The :output_format...' end unless @params.include?(:output_info) raise BadParameters, 'The :output_info...' end Thanks in advance! -- Posted via http://www.ruby-forum.com/.