# File lib/pry/config/behavior.rb, line 46
  def method_missing(name, *args, &block)
    key = name.to_s
    if key[-1] == ASSIGNMENT
      short_key = key[0..-2]
      self[short_key] = args[0]
    elsif key?(key)
      self[key]
    elsif @default.respond_to?(name)
      value = @default.public_send(name, *args, &block)
      # FIXME: refactor Pry::Hook so that it stores config on the config object,
      # so that we can use the normal strategy.
      self[key] = value = value.dup if key == 'hooks'
      value
    else
      nil
    end
  end