method

apply_to

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: NoTouching
apply_to(klass) public

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/no_touching.rb, line 29
      def apply_to(klass) # :nodoc:
        klasses.push(klass)
        yield
      ensure
        klasses.pop
      end
Register or log in to add new notes.