lib/thinreports/layout/base.rb in thinreports-0.7.6 vs lib/thinreports/layout/base.rb in thinreports-0.7.7

- old
+ new

@@ -65,13 +65,15 @@ @config ||= Layout::Configuration.new(self) block_exec_on(@config, &block) end # @param [ThinReports::Report::Base] parent + # @param [Hash] options ({}) + # @option option [Boolean] :count (true) # @return [Page] # @private - def init_new_page(parent) - self.class.Page.new(parent, self) + def init_new_page(parent, options = {}) + self.class.Page.new(parent, self, options) end end end end