-
-
Save havenwood/8f1e286de40c7d7e267b9a5d898bc382 to your computer and use it in GitHub Desktop.
This file contains 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 Foo | |
attr_reader :doomlist3 | |
def doomlist3=(doomlist3) | |
@doomlist3 = doomlist3 | |
end | |
end | |
foo = Foo.new | |
foo.doomlist3 = 42 | |
foo.doomlist3 | |
#=> 42 |
Author
havenwood
commented
Jun 29, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment