Skip to content

Commit 4969afd

Browse files
committed
contructor -> constructor
1 parent 8f04a06 commit 4969afd

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
@@ -34,7 +34,7 @@ The name must be defined in camel case. **CamelCase** is a way of writing compou
3434

3535
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

37-
The `initialize` method is often called a **contructor**, as it helps *construct* new objects.
37+
The `initialize` method is often called a **constructor**, as it helps *construct* new objects.
3838

3939
```ruby
4040
class Color

0 commit comments

Comments
 (0)