Ruby - Control Flow
What does the inline modifier
Example:
if do in Ruby?Example:
puts 'Hi' if conditionif do in Ruby?puts 'Hi' if conditionputs 'Hi' if condition, 'Hi' prints only if condition is true.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions