Skip to content

Commit

Permalink
typo in DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Aug 2, 2018
1 parent 4aaba2e commit 0638b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chapters/DSL/DSL.pillar
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Let us explain this method
Pay really attention that a class method ==withFaces:== is sent to a class, and an instance method sent to the newly created instance ==faces:==. Note that the class method could have also named ==faces:== or any name we want, it does not matter, it is executed when the receiver is the class ==Die==.


If you execute it will not work since we did not create yet the method ==faces:==. This is now the time to define it. Pay attention the method ==faces:== is sent to an instance of the class ==Die== and not the class itself. It is an instance method, therefore make sure that you deselected the class button before editing it.
This test will not work since we did not create yet the method ==faces:==. This is now the time to define it. Pay attention the method ==faces:== is sent to an instance of the class ==Die== and not the class itself. It is an instance method, therefore make sure that you deselected the class button before editing it.

[[[
Die >> faces: aNumber
Expand Down

0 comments on commit 0638b16

Please sign in to comment.