You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ruby/lesson4/tutorial.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ The name must be defined in camel case. **CamelCase** is a way of writing compou
34
34
35
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`.
36
36
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.
0 commit comments