From c4a6ed29a72bfdb4c1b5cf979381e50732b6f551 Mon Sep 17 00:00:00 2001 From: Bogdan Gusiev Date: Tue, 19 Nov 2024 15:01:34 +0100 Subject: [PATCH] Fix typo --- lib/datagrid/drivers/array.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datagrid/drivers/array.rb b/lib/datagrid/drivers/array.rb index 32007cd..5a47d8c 100644 --- a/lib/datagrid/drivers/array.rb +++ b/lib/datagrid/drivers/array.rb @@ -58,7 +58,7 @@ def scope_has_column?(scope, column_name) scope.any? && scope.first.respond_to?(column_name) end - def is_timestamp?(scope, column_name) + def timestamp_column?(scope, column_name) scope_has_column?(scope, column_name) && timestamp_class?(get(scope.first, column_name).class) end