Skip to content

Instantly share code, notes, and snippets.

@PatrickTulskie
Last active August 30, 2018 06:19
Show Gist options
  • Save PatrickTulskie/7d514959ea99255d37de to your computer and use it in GitHub Desktop.
Save PatrickTulskie/7d514959ea99255d37de to your computer and use it in GitHub Desktop.
New new new new new
class New
def new
self.class
end
def to_s
'new'
end
end
puts New.new.new.new.new.new.new.new.new.new
# => 'new'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment