def attr_writer(*methods)
      methods.each do |method|
        define_method("#{method}=") do |value|
          instance_variable_set(:"@#{method}", value)
        end
      end
    end
def attr_writer(*methods)
      methods.each do |method|
        define_method("#{method}=") do |value|
          instance_variable_set(:"@#{method}", value)
        end
      end
    end
Define methods to access writable instance variables
 @overload attr_writer(method_name, ...)
   @param method_name [Symbol, String] a writable attribute
   @param ... [Symbol, String] more writable attributes
 @return [void]