Method: AbstractController::Base#performed?

Defined in:
lib/abstract_controller/base.rb

#performed?Boolean

Tests if a response body is set. Used to determine if the process_action callback needs to be terminated in AbstractController::Callbacks.

Returns:

  • (Boolean)


184
185
186
# File 'lib/abstract_controller/base.rb', line 184

def performed?
  response_body
end