You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Examining String#rjust in irb we can see that when we provide values greater than 5 it performs no work. This means we apply it in both cases as it will have the same intended effect.
"123456".rjust 5, "0"=> "123456"
In this example, do you mean "when we provide values LESS than SIX, it performs no work"?
The text was updated successfully, but these errors were encountered:
"123456".rjust 5, "0"=> "123456"
In this example, do you mean "when we provide values LESS than SIX, it performs no work"?
The text was updated successfully, but these errors were encountered: