Skip to content

Commit d081b85

Browse files
committed
Changes to Ruby intro from TrueCar hacknight
Conflicts: sites/curriculum/ruby_language.step
1 parent 16eae54 commit d081b85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sites/curriculum/ruby_language.step

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,13 @@ fruits.methods.sort
8383
end
8484

8585
step do
86-
message "Arrays have a method called `each` which iterates through the list running code on each item."
86+
message "Arrays have a method called **each** which iterates through the list running code on each item."
8787
console "", <<-RUBY
8888
fruits.each do |fruit|
8989
puts fruit
9090
end
9191
RUBY
9292
message "This takes the first item from the `fruits` array (`\"kiwi\"`), assigns it to the variable `fruit`, and runs the code between `do` and `end`. Then it does the same thing for each other item in the list. The code above should print a list of the fruits."
93-
9493
end
9594

9695
step do

0 commit comments

Comments
 (0)