From 1820b197050251902e1ea6e9334181a78e4c1499 Mon Sep 17 00:00:00 2001 From: Genadi Samokovarov Date: Tue, 1 Jan 2019 12:13:53 +0200 Subject: Tweak the ActionableError docs a bit --- activesupport/lib/active_support/actionable_error.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'activesupport/lib/active_support/actionable_error.rb') diff --git a/activesupport/lib/active_support/actionable_error.rb b/activesupport/lib/active_support/actionable_error.rb index 88a3eaa514..8adf40cc3d 100644 --- a/activesupport/lib/active_support/actionable_error.rb +++ b/activesupport/lib/active_support/actionable_error.rb @@ -6,10 +6,8 @@ module ActiveSupport # Actionable errors let's you define actions to resolve an error. # # To make an error actionable, include the ActiveSupport::ActionableError - # module and invoke the +action+ class macro to define the action. - # - # An action needs a name and a procedure to execute. The name can be shown by - # the action dispatching mechanism. + # module and invoke the +action+ class macro to define the action. An action + # needs a name and a block to execute. module ActionableError extend Concern -- cgit v1.2.3