public Method

TestResponseBehavior.has_session_object?(name=nil)

does the specified object exist in the session?

Source Code

# File action_controller/test_process.rb, line 246
def has_session_object?(name=nil)
  !session[name].nil?
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.