lib/film_snob.rb in film_snob-0.3.8 vs lib/film_snob.rb in film_snob-0.3.9
- old
+ new
@@ -26,10 +26,10 @@
def video
if watchable?
@video
else
- raise NotSupportedURLError.new("#{url} is not a supported URL")
+ raise NotSupportedURLError, "#{url} is not a supported URL"
end
end
def delegated_video_methods
[:site, :id, :clean_url, :title, :html]