Created
August 24, 2018 17:47
-
-
Save joegaudet/445df1c2d21ff9b385d69e47bb1ae50b 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 ObjectWithState | |
attr_accessor :foo | |
def call(bar) | |
self.foo = bar | |
bar | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment