Skip to content

Commit a95f359

Browse files
committed
Minor typo fixes
1 parent ab433fe commit a95f359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/lesson4/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The name must be defined in camel case. **CamelCase** is a way of writing compou
3232

3333
## Creating an instance of a class
3434

35-
To create an object, we call the **new** method on its class. If you want to pass information to the object, then you can write an `initialize` method, which Ruby will call whenever you call the classes' `new` method. Any parameters defined for the `initialize` method need to passed to `new`.
35+
To create an object, we call the **new** method on its class. If you want to pass information to the object, then you can write an `initialize` method, which Ruby will call whenever you call the classes' `new` method. Any parameters defined for the `initialize` method need to be passed to `new`.
3636

3737
The `initialize` method is often called a **contructor**, as it helps *construct* new objects.
3838

0 commit comments

Comments
 (0)