Recompose Conditional

You have conditional code that is unnecessarily verbose and does not use the most readable Ruby construct.

Replace the conditional code with the more idiomatic Ruby construct.

parameters = params ? params : []
  

image/svg+xml

parameters = params || []