I need one suggestions from you :-
Suppose I do have a code as below:
until row == nil do
#code1
begin
#code2 <~~ which can raise an error
rescue
end
#here I want some guard which can check,if any error occurred or
not.If #error then skip below part and continue from the next row.
#code3
row+=1
end
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/f3015a26339a38d85f0eb269793be82d%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.