lib/tapioca/runtime/dynamic_mixin_compiler.rb in tapioca-0.11.4 vs lib/tapioca/runtime/dynamic_mixin_compiler.rb in tapioca-0.11.5

- old
+ new

@@ -143,11 +143,11 @@ mod << RBI::Method.new(attribute.to_s) end class_attribute_writers.each do |attribute| mod << RBI::Method.new("#{attribute}=") do |method| - method << RBI::Param.new("value") + method << RBI::ReqParam.new("value") end end class_attribute_predicates.each do |attribute| mod << RBI::Method.new("#{attribute}?") @@ -160,10 +160,10 @@ mod << RBI::Method.new(attribute.to_s) end instance_attribute_writers.each do |attribute| mod << RBI::Method.new("#{attribute}=") do |method| - method << RBI::Param.new("value") + method << RBI::ReqParam.new("value") end end instance_attribute_predicates.each do |attribute| mod << RBI::Method.new("#{attribute}?")