method

with_backend

rails latest stable - Class: ActiveSupport::JSON

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

with_backend(name)
public

No documentation available.

# File activesupport/lib/active_support/json/decoding.rb, line 35
      def with_backend(name)
        old_backend, self.backend = backend, name
        yield
      ensure
        self.backend = old_backend
      end