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