mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
minor grammar nit
This commit is contained in:
@@ -60,7 +60,7 @@ class AboutBlocks < EdgeCase::Koan
|
|||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|
||||||
def test_block_can_effect_variables_in_the_code_where_they_are_created
|
def test_block_can_affect_variables_in_the_code_where_they_are_created
|
||||||
value = :initial_value
|
value = :initial_value
|
||||||
method_with_block { value = :modified_in_a_block }
|
method_with_block { value = :modified_in_a_block }
|
||||||
assert_equal __, value
|
assert_equal __, value
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ class AboutBlocks < EdgeCase::Koan
|
|||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|
||||||
def test_block_can_effect_variables_in_the_code_where_they_are_created
|
def test_block_can_affect_variables_in_the_code_where_they_are_created
|
||||||
value = :initial_value
|
value = :initial_value
|
||||||
method_with_block { value = :modified_in_a_block }
|
method_with_block { value = :modified_in_a_block }
|
||||||
assert_equal __(:modified_in_a_block), value
|
assert_equal __(:modified_in_a_block), value
|
||||||
|
|||||||
Reference in New Issue
Block a user