Skip to content

Instantly share code, notes, and snippets.

@punnie
Created November 20, 2013 19:03
Show Gist options
  • Save punnie/7568991 to your computer and use it in GitHub Desktop.
Save punnie/7568991 to your computer and use it in GitHub Desktop.
class Lol
class << self
def new(args)
puts "args"
self
end
end
def new(lol)
puts lol
end
end
l = Lol.new("rofl")
l.new("lol")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment