Flowdock
generate_method_for_mime(mime) 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/abstract_controller/collector.rb, line 7
    def self.generate_method_for_mime(mime)
      sym = mime.is_a?(Symbol) ? mime : mime.to_sym
      class_eval         def #{sym}(*args, &block)          custom(Mime[:#{sym}], *args, &block)        end, __FILE__, __LINE__ + 1
    end
Register or log in to add new notes.