Skip to content

Commit 7ddead5

Browse files
committed
Revert really sucky commit
This reverts commit c5a08d1.
1 parent c5a08d1 commit 7ddead5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ruby/lesson4/tutorial.md

Lines changed: 2 additions & 2 deletions
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 **constructor**, as it helps *construct* new objects.
37+
The `initialize` method is often called a **contructor**, as it helps *construct* new objects.
3838

3939
```ruby
4040
class Color
@@ -49,7 +49,7 @@ color1 = Color.new("purple", "#8824a4")
4949
color2 = Color.new("blue", "#4c6fcc")
5050
```
5151

52-
Sometimes you'll hear objects referred to as **instances** of a particular class. This just means that the object is an instance of a particular class; an object called `ruby` could be an instance of the class `language`.
52+
Sometimes you'll hear objects referred to as **instances** of a particular class. This just means that the class was used as the blueprint to create the object.
5353

5454
## Instance variables and methods
5555

0 commit comments

Comments
 (0)