lib/trestle/table.rb in trestle-0.8.10 vs lib/trestle/table.rb in trestle-0.8.11

- old
+ new

@@ -27,19 +27,23 @@ def autolink? options[:autolink] != false end + def header? + options[:header] != false + end + def renderer(template) Renderer.new(self, template) end def row @row || Row.new(self) end class Renderer - delegate :options, to: :@table + delegate :options, :header?, to: :@table def initialize(table, template) @table, @template = table, template end