"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/ruport/controller.rb" between
ruport-1.7.1.tar.gz and ruport-1.8.0.tar.gz

About: Ruport (Ruby Reports) is a simple, extensible reporting system built for Rubyists. It provides tools for data acquisition, database interaction, formatting, and parsing/munging.

controller.rb  (ruport-1.7.1):controller.rb  (ruport-1.8.0)
skipping to change at line 216 skipping to change at line 216
# end # end
# #
# formatter :json do # formatter :json do
# # ... # # ...
# end # end
# end # end
# #
def built_in_formats def built_in_formats
{ :html => Ruport::Formatter::HTML, { :html => Ruport::Formatter::HTML,
:csv => Ruport::Formatter::CSV, :csv => Ruport::Formatter::CSV,
:pdf => Ruport::Formatter::PDF, :pdf => Ruport::Formatter::PrawnPDF,
:prawn_pdf => Ruport::Formatter::PrawnPDF, :prawn_pdf => Ruport::Formatter::PrawnPDF,
:text => Ruport::Formatter::Text } :text => Ruport::Formatter::Text }
end end
# Generates an anonymous formatter class and ties it to the Controller. # Generates an anonymous formatter class and ties it to the Controller.
# This method looks up the built in formats in the hash returned by # This method looks up the built in formats in the hash returned by
# built_in_formats, but also explicitly specify a custom Formatter class to # built_in_formats, but also explicitly specify a custom Formatter class to
# subclass from. # subclass from.
# #
# Sample usage: # Sample usage:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)