# File control/EditProperties/EditProperties.rb, line 299 def write case (@mask_type) when 'nil' @params.mask = nil when 'regexp' @params.mask = Rucy::MaskUtil.suffix_to_regexp(@mask) when 'string' @params.mask = @mask else raise "unknown mask type: #{@mask_type.inspect}" end @args.each_with_index do |arg_info, i| case (arg_info[:type]) when :password if (arg_info[:clear]) then @params.set_arg_at(i, nil) else @params.set_arg_at(i, arg_info[:value]) end else @params.set_arg_at(i, arg_info[:value]) end end @src.write nil end