Flowdock
method

method_missing

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::MimeResponds::Responder
method_missing(symbol, &block) public

No documentation

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

Hide source
# File actionpack/lib/action_controller/mime_responds.rb, line 143
      def method_missing(symbol, &block)
        mime_constant = symbol.to_s.upcase

        if Mime::SET.include?(Mime.const_get(mime_constant))
          custom(Mime.const_get(mime_constant), &block)
        else
          super
        end
      end
Register or log in to add new notes.