method

extract_format

extract_format(value, details)
protected

No documentation available.

# File actionpack/lib/action_view/renderer/abstract_renderer.rb, line 25
    def extract_format(value, details)
      if value.is_a?(String) && value.sub!(formats_regexp, "")
        ActiveSupport::Deprecation.warn "Passing the format in the template name is deprecated. "            "Please pass render with :formats => [:#{$1}] instead.", caller
        details[:formats] ||= [$1.to_sym]
      end
    end