Skip to content

Commit

Permalink
Made a minor readability change to a comment in about_blocks.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
smlance committed Jul 9, 2013
1 parent 4e5b9ca commit cf61502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/about_blocks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_blocks_can_be_assigned_to_variables_and_called_explicitly
add_one = lambda { |n| n + 1 }
assert_equal __(11), add_one.call(10)

# Alternative calling sequence
# Alternative calling syntax
assert_equal __(11), add_one[10]
end

Expand Down

0 comments on commit cf61502

Please sign in to comment.