Skip to content

Instantly share code, notes, and snippets.

@closer
Last active August 29, 2015 14:26
Show Gist options
  • Save closer/20bdf3aa17178747f9f2 to your computer and use it in GitHub Desktop.
Save closer/20bdf3aa17178747f9f2 to your computer and use it in GitHub Desktop.
class Hoge
def initialize
p "class"
end
end
def Hoge
p "method"
end
Hoge.new #=> "class"
Hoge() #=> "method"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment