From: Jean-Michel Date: 2009-03-02T04:33:56+09:00 Subject: Re: How to put multiple values into a variable. A struct would do nicely here. FileLink = Struct.new( :directory, :filename, :title, :artist) FileLink.new(Dir.pwd, "filename", "title", "artist") Jean-Michel On Feb 28, 7:37 am, Harry Nash wrote: > I am new to coding, I have tried to place a number of data strings into > one variable but I am missing something in the format. See example > below. > Note each part of the line after = does have a real value, I just > can't format the string. > > file-link = Dir.pwd, "#{filename}", "#{mp3-title}", "#{mp3-artist}" > -- > Posted viahttp://www.ruby-forum.com/.