Flowdock
method

infer_observed_class_name

Importance_0
v1.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Observer
infer_observed_class_name() private

No documentation

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

Hide source
# File activerecord/lib/active_record/observer.rb, line 111
      def infer_observed_class_name
        self.class.name.scan(/(.*)Observer/)[0][0]
      end
Register or log in to add new notes.