list = <<-eos eos array = <<-eos items: [], eos addandremove = <<-eos remove: function(){ this.items.pop() }, add: function(){ this.items.push(this.message) }, eos insert_into_file "#{PARTS_PATH}/#{name}.vue", list, after: "

{{ message }}

\n" insert_into_file "#{PARTS_PATH}/#{name}.vue", addandremove, after: "methods: {\n" insert_into_file "#{PARTS_PATH}/#{name}.vue", array, after: "return {\n"