Flowdock
method

backend=

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::JSON
backend=(name) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/json/decoding.rb, line 21
      def backend=(name)
        if name.is_a?(Module)
          @backend = name
        else
          require "active_support/json/backends/#{name.to_s.downcase}"
          @backend = ActiveSupport::JSON::Backends::const_get(name)
        end
        @parse_error = @backend::ParseError
      end
Register or log in to add new notes.