Skip to content

Instantly share code, notes, and snippets.

@jwaldrip
Created May 12, 2017 01:41
Show Gist options
  • Save jwaldrip/fad52ff8e5c08291ad38d335d9790e97 to your computer and use it in GitHub Desktop.
Save jwaldrip/fad52ff8e5c08291ad38d335d9790e97 to your computer and use it in GitHub Desktop.
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