method

method_missing

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Custom
method_missing(method, *args) public

No documentation

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

Hide source
# File railties/lib/rails/application/configuration.rb, line 584
        def method_missing(method, *args)
          if method.end_with?("=")
            @configurations[:"#{method[0..-2]}"] = args.first
          else
            @configurations.fetch(method) {
              @configurations[method] = ActiveSupport::OrderedOptions.new
            }
          end
        end
Register or log in to add new notes.