lib/tablesmith/table.rb in tablesmith-0.3.1 vs lib/tablesmith/table.rb in tablesmith-0.4.0
- old
+ new
@@ -10,10 +10,14 @@
count += 1
t.send(meth_id, *args)
end
end
+ def respond_to_missing?
+ super
+ end
+
# irb
def inspect
pretty_inspect
end
@@ -52,9 +56,13 @@
cell
end
end
end
end
+ end
+
+ def to_html
+ HtmlFormatter.new(self).to_html
end
# override in subclass or mixin
def row_values(row)
row
\ No newline at end of file