Created
May 12, 2017 01:41
-
-
Save jwaldrip/fad52ff8e5c08291ad38d335d9790e97 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 Foo | |
def to_s | |
end | |
unsealed private def patch_me | |
end | |
def cant_patch_me | |
end | |
end | |
class Foo | |
def patch_me | |
previous_def | |
end | |
def cant_patch_me | |
end | |
# compile error | |
# cant_patch_me is sealed | |
def new_thing | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment