lib/inspector.rb in pirate-autonzb-0.2.3 vs lib/inspector.rb in pirate-autonzb-0.2.4

- old
+ new

@@ -3,10 +3,10 @@ class Inspector attr_accessor :backup def initialize(paths, options = {}) - @paths = paths.split(',').map { |p| p.gsub!(/\/$/,'') } + @paths = paths.split(',').map { |p| p.gsub(/\/$/,'') } @options = options @options[:srt] = @options[:srt] ? @options[:srt].split(',') : ['none'] @options[:imdb_score] = @options[:imdb_score] ? @options[:imdb_score].to_f : 7.0 @options[:year] = @options[:year] ? @options[:year].to_i : 1950 \ No newline at end of file