-1

Ternary operator breaks ruby code highlighting when used in expression substitution #{ }

Moritz C. Türck 8 years ago updated 8 years ago 0
example:
tar_args = "-cp#{options[:compress]?'j':''}f"