Created
May 18, 2022 09:33
-
-
Save denisdefreyne/f9f29715f79433734e07a35a7b23e314 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Point | |
attr_reader :x | |
attr_reader :y | |
def initialize(x, y) | |
@x = x | |
@y = y | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment