How do you stop a Ruby method from executing?

Hey guys,

How do you stop Ruby code from executing? For example,

def newaction
puts “1”
return
puts “2”
end

I tried return in the following example, but it continues and than looks
for newaction.rhtml. How do I stop it completely dead in its tracks?