Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #32 from skilldrick/spellings.
Browse files Browse the repository at this point in the history
Spellings
  • Loading branch information
Joe O'Brien committed Apr 30, 2011
2 parents bb80594 + 34cc5c4 commit b27f1a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions koans/about_constants.rb
Expand Up @@ -81,7 +81,7 @@ def test_who_wins_with_explicit_scoping_on_class_definition
assert_equal __, MyAnimals::Oyster.new.legs_in_oyster
end

# QUESTION: Now Which has precedence: The constant in the lexical
# scope, or the constant from the inheritance heirarachy? Why is it
# QUESTION: Now which has precedence: The constant in the lexical
# scope, or the constant from the inheritance hierarchy? Why is it
# different than the previous answer?
end
2 changes: 1 addition & 1 deletion koans/about_iteration.rb
Expand Up @@ -65,7 +65,7 @@ def test_inject_will_blow_your_mind
result = [2, 3, 4].inject(0) { |sum, item| sum + item }
assert_equal __, result

result2 = [2, 3, 4].inject(1) { |sum, item| sum * item }
result2 = [2, 3, 4].inject(1) { |product, item| product * item }
assert_equal __, result2

# Extra Credit:
Expand Down
2 changes: 1 addition & 1 deletion koans/about_message_passing.rb
Expand Up @@ -99,7 +99,7 @@ def test_calling_method_missing_causes_the_no_method_error
# keep in mind you can't call method_missing like that in Ruby
# 1.9. normally.
#
# Thanks. We now return you to your regularly schedule Ruby
# Thanks. We now return you to your regularly scheduled Ruby
# Koans.
end

Expand Down

0 comments on commit b27f1a7

Please sign in to comment.