method

observer_class_for

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionMailer::Base
observer_class_for(value) 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/base.rb, line 558
      def observer_class_for(value) # :nodoc:
        case value
        when String, Symbol
          value.to_s.camelize.constantize
        else
          value
        end
      end
Register or log in to add new notes.