-1

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

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