Possible Duplicate:
How to break outer cycle in Ruby?
say I have this code:
class A
def initialize
myMethod()
print "This should not be printed"
end
def myMethod
#here
end
end
obj = A.new
print "This should be printed"
Is there any command that I can place instead of "#here" that would exit the 'obj' object and continue to the next statement? (print "This should be printed")