Sha256: 2c341a0c9e7da9d2185abc4b1aefff712b78bfdc913a322d95e7d0c6af97b3b5

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

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

class ActionView::Base
  include Remotipart
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
remotipart-0.2.0 lib/remotipart.rb