app/components/katalyst/tables/body_cell_component.rb in katalyst-tables-2.1.3 vs app/components/katalyst/tables/body_cell_component.rb in katalyst-tables-2.2.0
- old
+ new
@@ -33,8 +33,12 @@
end
def value
@record.public_send(@attribute)
end
+
+ def inspect
+ "#<#{self.class.name} attribute: #{@attribute.inspect}, value: #{value.inspect}>"
+ end
end
end
end