<%if @item.rigged %>Yes<%else%>No<%end%>
I was thinking of something like this?
if @item.rigged ? \"Yes\" : \"No\"
<
From what I know
3 one-liners
a = 10 if
example:
a = 10 if true # a = 10
b = 10 if false # b = nil
a = 10 unless
example:
a = 10 unless false # a = 10
b = 10 unless true # b = nil
a = ? :
example:
a = true ? 10 : 100 # a = 10
a = false ? 10 : 100 # a = 100
I hope it helps.