lib/table_cloth/column.rb in table_cloth-0.1.1 vs lib/table_cloth/column.rb in table_cloth-0.1.2
- old
+ new
@@ -7,10 +7,10 @@
@options = options
end
def value(object, view, table=nil)
if options[:proc] && options[:proc].respond_to?(:call)
- view.capture(object, options, view, &options[:proc])
+ view.capture(object, view, &options[:proc])
else
object.send(name)
end
end
\ No newline at end of file