From 4d5b6fff712429ad867eb6d7e3af1de23fb904d8 Mon Sep 17 00:00:00 2001 From: Mikhail Varabyou Date: Thu, 21 Nov 2024 19:07:12 +0100 Subject: [PATCH] obey storemodel rubocop rules. --- lib/store_model/nested_attributes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/store_model/nested_attributes.rb b/lib/store_model/nested_attributes.rb index 5029bc2..0f05a92 100644 --- a/lib/store_model/nested_attributes.rb +++ b/lib/store_model/nested_attributes.rb @@ -14,7 +14,7 @@ def store_model_attribute_types end # add storemodel type of attribute if it is storemodel type - def attribute(name, type=nil, **) + def attribute(name, type = nil, **) store_model_attribute_types[name.to_s] = type if type.is_a?(Types::Base) super end