diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2019-01-01 12:13:53 +0200 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2019-04-19 14:15:41 +0900 |
commit | 1820b197050251902e1ea6e9334181a78e4c1499 (patch) | |
tree | 1f836a41a1cdcae8b5dea0529c8d4b38c0079d73 /activesupport | |
parent | 963fef7b37d6bc31dd385c92cbe8be934aa2871f (diff) | |
download | rails-1820b197050251902e1ea6e9334181a78e4c1499.tar.gz rails-1820b197050251902e1ea6e9334181a78e4c1499.tar.bz2 rails-1820b197050251902e1ea6e9334181a78e4c1499.zip |
Tweak the ActionableError docs a bit
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/actionable_error.rb | 6 |
1 files changed, 2 insertions, 4 deletions
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 <tt>ActiveSupport::ActionableError</tt> - # 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 |