"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/ruport/formatter.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.

formatter.rb  (ruport-1.7.1):formatter.rb  (ruport-1.8.0)
skipping to change at line 120 skipping to change at line 120
end end
end end
private private
def render_helper(rend_klass, source_data,options={},&block) def render_helper(rend_klass, source_data,options={},&block)
options = {:data => source_data, options = {:data => source_data,
:io => output, :io => output,
:layout => false }.merge(options) :layout => false }.merge(options)
options[:io] = "" if self.class.kind_of?(Ruport::Formatter::PDF)
rend_klass.render(format,options) do |rend| rend_klass.render(format,options) do |rend|
block[rend] if block block[rend] if block
end end
end end
end end
include RenderingTools include RenderingTools
# Set by the <tt>:data</tt> attribute from Controller#render # Set by the <tt>:data</tt> attribute from Controller#render
skipping to change at line 254 skipping to change at line 253
super super
end end
end end
end end
end end
require "ruport/formatter/template" require "ruport/formatter/template"
require "ruport/formatter/csv" require "ruport/formatter/csv"
require "ruport/formatter/html" require "ruport/formatter/html"
require "ruport/formatter/text" require "ruport/formatter/text"
require "ruport/formatter/pdf"
require "ruport/formatter/prawn_pdf" require "ruport/formatter/prawn_pdf"
require "ruport/formatter/markdown"
 End of changes. 3 change blocks. 
2 lines changed or deleted 0 lines changed or added

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