Skip to content

Instantly share code, notes, and snippets.

@thumblemonks
Created November 3, 2009 00:33
Show Gist options
  • Save thumblemonks/224658 to your computer and use it in GitHub Desktop.
Save thumblemonks/224658 to your computer and use it in GitHub Desktop.
class A
def initialize
super()
puts "Hairy chins"
end
end
B = Class.new(A)
B.new
# What is the output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment