Flowdock
new(source, identifier, handler, details) 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.rb, line 112
    def initialize(source, identifier, handler, details)
      @source             = source
      @identifier         = identifier
      @handler            = handler
      @original_encoding  = nil
      @method_names       = {}

      format   = details[:format] || :html
      @formats = Array.wrap(format).map { |f| f.is_a?(Mime::Type) ? f.ref : f }
      @virtual_path = details[:virtual_path].try(:sub, ".#{format}", "")
    end
Register or log in to add new notes.