I am trying to do:
the_tag= line[2..5]
rec_id_line = (line[2]=='@')? true : false
new_contents,new_to_close=
rec_id_line? open_id_tag(indent,line) : open_tag(indent,the_tag,last_field)
Those two methods both return two values (btw I'm refactoring here)
i.e. for the two variables, I either want to call open_id_tag(2 params) otherwise open_tag(3 params) depending on the true/false rec_id_line value.