method

interceptor_class_for

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ClassMethods
interceptor_class_for(interceptor) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionmailer/lib/action_mailer/preview.rb, line 82
        def interceptor_class_for(interceptor)
          case interceptor
          when String, Symbol
            interceptor.to_s.camelize.constantize
          else
            interceptor
          end
        end
Register or log in to add new notes.