method

observer_class_for

Importance_0
v5.2.3 - Show latest stable - 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 497
      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.