Flowdock
method

new

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: ActionView::Template::Text
new(string, mime_type = nil) 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_view/template/text.rb, line 7
      def initialize(string, mime_type = nil)
        super(string.to_s)
        @mime_type   = Mime[mime_type] || mime_type if mime_type
        @mime_type ||= Mime::TEXT
      end
Register or log in to add new notes.