Skip to content

Commit 899f36d

Browse files
committed
[ruby] Add 'define' to the explanation of methods
1 parent 7f3366d commit 899f36d

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
@@ -17,7 +17,7 @@ Object Oriented Programming is a way of programming where concepts are represent
1717

1818
## What is a class?
1919

20-
A class is a way of representing an object, a blueprint for describing how it should look and behave. It enables us to package up data, and the ways in which it can be changed.
20+
A class is a way of representing an object, a blueprint for describing how it should look and behave. It enables us to package up data, and define the ways in which it can be changed.
2121

2222
To define a class we need to specify the keyword **class**, followed by the name we want our class to be known by, then the keyword **end** to close the definition.
2323

0 commit comments

Comments
 (0)