diff --git a/download/rubykoans.zip b/download/rubykoans.zip index 4a4ef3f..f5d286e 100644 Binary files a/download/rubykoans.zip and b/download/rubykoans.zip differ diff --git a/src/about_message_passing.rb b/src/about_message_passing.rb index f6af2bf..84f4787 100644 --- a/src/about_message_passing.rb +++ b/src/about_message_passing.rb @@ -63,6 +63,13 @@ class AboutMessagePassing < Neo::Koan assert_equal __([3, 4, nil, 6]), mc.send(:add_a_payload, 3, 4, nil, 6) end + # NOTE: + # + # Both obj.msg and obj.send(:msg) sends the message named :msg to + # the object. We use "send" when the name of the message can vary + # dynamically (e.g. calculated at run time), but by far the most + # common way of sending a message is just to say: obj.msg. + # ------------------------------------------------------------------ class TypicalObject