brain breaks

«

»

What will this code produce?

class Confusion
def self.confuse
    never_defined = 'defined' if false
    never_defined
end

def method_missing(m, *args)
    'Will you see this?'
end
end

puts Confusion.confuse

Update: KirinDave has a more informative explanation on the caboose blog.

« older | 2006-03-08T17:01:07Z | newer »