lib/thinreports/layout/base.rb in thinreports-0.8.2 vs lib/thinreports/layout/base.rb in thinreports-0.9.0
- old
+ new
@@ -42,25 +42,9 @@
# @return [Boolean] Return the true if is default layout.
def default?
@id.nil?
end
-
- # @yield [config]
- # @yieldparam [List::Configuration] config
- # @return [List::Configuration]
- def config(&block)
- @config ||= Layout::Configuration.new(self)
- call_block_in(@config, &block)
- end
-
- # @param [Thinreports::Report::Base] parent
- # @param [Hash] options ({})
- # @option option [Boolean] :count (true)
- # @return [Page]
- def new_page(parent, options = {})
- Report::Page.new(parent, self, options)
- end
end
end
end