Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 3 additions and 2 deletions.
  1. +2 −2 source/projects/jsattend.markdown
  2. +1 −0 source/projects/ruby_in_100_minutes.markdown
View
4 source/projects/jsattend.markdown
@@ -728,9 +728,9 @@ We can use that approach with our `legislators` collection:
```ruby
names = legislators.collect do |leg|
- first_name = leg.first_name
+ first_name = leg.firstname
first_initial = first_name[0]
- last_name = leg.last_name
+ last_name = leg.lastname
first_initial + ". " + last_name
end
```
View
1 source/projects/ruby_in_100_minutes.markdown
@@ -373,6 +373,7 @@ There are lots of cool things to do with an array. You can rearrange the order o
```ruby
def gameplan
+ meals = ["breakfast", "lunch", "dinner"]
meals.each do |meal|
puts "We'll have #{meal}..."
end

No commit comments for this range

Something went wrong with that request. Please try again.