From 92c3f67098697878a15cbed8b90aff7c1b2ae938 Mon Sep 17 00:00:00 2001 From: Kieran Klaassen Date: Wed, 21 Aug 2024 14:33:37 -0500 Subject: [PATCH] feat: Remove unused Leva::BaseEval class --- app/models/leva/dataset_record.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/models/leva/dataset_record.rb b/app/models/leva/dataset_record.rb index 281570b..01288fd 100644 --- a/app/models/leva/dataset_record.rb +++ b/app/models/leva/dataset_record.rb @@ -57,11 +57,9 @@ def display_name recordable.name elsif recordable.respond_to?(:title) recordable.title - elsif recordable.is_a?(TextContent) - "TextContent: #{recordable.text.truncate(30)}" else "#{recordable_type} ##{recordable_id}" end end end -end \ No newline at end of file +end