Sha256: 0b22b72d12bc6ec7240cf2635c050a4ebbc1b89adff41e7e3132669d605145d6
Contents?: true
Size: 544 Bytes
Versions: 7
Compression:
Stored size: 544 Bytes
Contents
module Tableview module Responder #def initialize(controller, resources, options={}) # super #end def to_html super end #def to_format # puts "#to_format with format=#{format.inspect} called" #end def to_csv controller.send_data(controller.render_to_string :partial => "table") end def to_xls controller.send_data(controller.render_to_string :partial => "table") end def to_ascii render :partial => "table" end end end
Version data entries
7 entries across 7 versions & 1 rubygems