Method: ActiveSupport::ActionableError.actions
- Defined in:
- lib/active_support/actionable_error.rb
.actions(error) ⇒ Object
:nodoc:
20 21 22 23 24 25 26 27 |
# File 'lib/active_support/actionable_error.rb', line 20 def self.actions(error) # :nodoc: case error when ActionableError, -> it { Class === it && it < ActionableError } error._actions else {} end end |