Flowdock
method

method_missing

Importance_0
v2.3.8 - 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 162
      def method_missing(symbol, &block)
        mime_constant = Mime.const_get(symbol.to_s.upcase)
      
        if Mime::SET.include?(mime_constant)
          self.class.generate_method_for_mime(mime_constant)
          send(symbol, &block)
        else
          super
        end
      end
Register or log in to add new notes.