Skip to content

Commit

Permalink
Small spelling/grammar fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
matta committed Jan 26, 2021
1 parent 242f808 commit a37aad1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions en/chapter-02/contents.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,13 @@ string length.

@cindex string @subentry @method{at:put:}
@cindex @method{yourself}
To change one character, use the companion two keywords message
To change one character, use the companion two keyword message
@msg{at:put:}. The argument must be noted as a character:
@smalltalkExample{'Hello' at: 2 put: $a; yourself
@result{} 'Hallo'}

Observe the use of the cascade with the @msg{yourself} message. A
cascade sends following messages to the original receiver, so
cascade sends the following messages to the original receiver, so
@smalltalk{#yourself} returns the updated string. Without the
cascade, @smalltalk{$a} is returned as the result of the @msg{at:put:}
message.
Expand Down Expand Up @@ -602,7 +602,7 @@ Now, we have created and saved the package. Whenever you start with a
fresh @cuis{} environment, you can load the game package.

The classes we defined are empty shells with neither state nor
behavior. These will be filled in and refactored in the next
behavior. These will be filled in and refactored in the following
chapters.

@subsection The Newtonian model
Expand Down

0 comments on commit a37aad1

Please sign in to comment.