Sha256: 1d8ea70ae1a495caa380433631c36b0479c558457dadea94f6f5631d91329dd3

Contents?: true

Size: 239 Bytes

Versions: 2

Compression:

Stored size: 239 Bytes

Contents

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

class ActionView::Base
  include Remotipart
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
remotipart-0.1.1 lib/remotipart.rb
remotipart-0.1.0 lib/remotipart.rb