Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 171 Bytes

conditions.md

File metadata and controls

16 lines (12 loc) · 171 Bytes

Conditions

Condition shortcut

a=true
if a
 puts "Yes it's true."
end

a=true
puts "Yes it's true." if a #Better

a=true
a&&puts "Yes it's true." #The best