lib/tapioca/dsl/compilers/active_model_attributes.rb in tapioca-0.7.1 vs lib/tapioca/dsl/compilers/active_model_attributes.rb in tapioca-0.7.2

- old
+ new

@@ -37,10 +37,10 @@ # end # ~~~ class ActiveModelAttributes < Compiler extend T::Sig - ConstantType = type_member(fixed: T.all(Class, ::ActiveModel::Attributes::ClassMethods)) + ConstantType = type_member { { fixed: T.all(Class, ::ActiveModel::Attributes::ClassMethods) } } sig { override.void } def decorate attribute_methods = attribute_methods_for_constant return if attribute_methods.empty?