method
with_backend
v4.0.2 -
Show latest stable
- Class:
ActiveSupport::JSON
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