Sha256: 499d2800ee8444b8fc5d3e87b983c951678094458941e17918b83e23005ef989

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

module Remotipart
  def remotipart_response(options = {}, &block)
    response.content_type = Mime::HTML
    content = with_output_buffer(&block)
    text_area_tag('remotipart_response', String.new(content), options)
  end
end

class ActionView::Base
  include Remotipart
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
remotipart-0.2.1 lib/remotipart.rb
tfe-remotipart-0.2.1 lib/remotipart.rb