Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan committed Nov 19, 2024
1 parent 8feaa06 commit c4a6ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datagrid/drivers/array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4a6ed2

Please sign in to comment.