Displaying 1 result from an estimated 1 matches for "confirm_size".
Did you mean:
config_size
2006 Mar 08
1
Poor Man''s Continuations
...;get_name''
if item == ''frank''
item += '' '' + continuation_call :action => ''get_frank_extra''
end
end
def get_name
if params[:name] and params[:name].size > 10
if continuation_call :action => ''confirm_size''
continuation_return params[:name]
else
continuation_return params[:name].slice(0..9)
end
end
end
def get_frank_extra
continuation_return params[:extra] if params[:extra]
end
def confirm_size
continuation_return params[:confirm] == '...