while as Modifier « Statement « Ruby






1.like if, you can use while as a statement modifier, at the end of a statement
2.Use while as a Loop Modifier