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
#### 1. Use Ruby to loop over this array, multiplying each element by 2.
tempArray = [1, 2, 6, 9, 3, 21]
# your ruby loop here
#### 2. From all the built in Ruby methods we've seen in class this week, choose three that you think are particularly helpful and create examples to show how they work.
# your three built in ruby methods
#### 3. Look at this horrible ruby code, and fix it to be good ruby code.