method
with_backend
v3.0.0 -
Show latest stable
- Class:
ActiveSupport::JSON
with_backend(name)public
No documentation available.
# File activesupport/lib/active_support/json/decoding.rb, line 31
def with_backend(name)
old_backend, self.backend = backend, name
yield
ensure
self.backend = old_backend
end