fongecore / rubyripper

Automatically exported from code.google.com/p/rubyripper
0 stars 0 forks source link

cannot edit track name in rubyripper_cli.rb #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
this is caused by a reference to a unknown variable 'number' and fixed by:

(at line 210 of 0.4beta rubyripper_cli.rb)

@settings['cd'].tracklist[answer.to_i - 1] = get_answer("Track
#{answer.to_i} : ", "open")

Original issue reported on code.google.com by jve...@gmail.com on 27 Feb 2007 at 5:30

GoogleCodeExporter commented 8 years ago
That really is a bug. Solved. Although I changed your solution with #{answer} 
instead of #{answer.to_i}. No need to convert to an integer before converting 
it to 
a string.

Thanks for handing out the solution!

Original comment by rubyripp...@gmail.com on 27 Feb 2007 at 5:49