-1

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

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