Created
May 18, 2022 09:35
-
-
Save denisdefreyne/76f2776be9b160df5a229f9defa83082 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 Employee | |
attr_reader :id | |
attr_reader :name | |
def initialize(id, name) | |
@id = id | |
@name = name | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment