diff --git a/2022/11-setlist/deck.rb b/2022/11-setlist/deck.rb index 7fbbe03..7693d7b 100644 --- a/2022/11-setlist/deck.rb +++ b/2022/11-setlist/deck.rb @@ -50,7 +50,7 @@ Squib::Deck.new(cards: data.nrows) do rect layout: :description text layout: :description, str: data.effect.zip(data.blurb).map { |e, b| - "#{e}#{b ? "\n#{b}" : nil}" + "#{e}#{if b then "\n#{b}" end}" } do |embed| embed.svg key: '{A}', width: 32, height: 32, data: Icons::AUDIENCE embed.svg key: '{l}', width: 32, height: 32, data: Icons::LOVE