lib/movie-renamer.rb in movie-renamer-0.0.5 vs lib/movie-renamer.rb in movie-renamer-0.0.6
- old
+ new
@@ -16,10 +16,10 @@
class Movie
def initialize(filename,opts={})
- opts = { year: '', director: '', title: '', part: '', imdb: ''}.merge(opts)
+ opts = { :year => '', :director => '', :title => '', :part => '', :imdb =>''}.merge(opts)
@year = opts[:year]
@director = opts[:director]
@title = opts[:title]
@part = opts[:part]
@imdb = opts[:imdb]