lib/tableficate/column.rb in tableficate-0.1.2 vs lib/tableficate/column.rb in tableficate-0.1.3
- old
+ new
@@ -12,10 +12,10 @@
end
def value(row)
if @block
output = @block.call(row)
- output = output.html_safe if respond_to? :html_safe
+ output = output.html_safe if output.respond_to? :html_safe
output
else
row.send(@name)
end
end