lib/filemagic/ext.rb in ruby-filemagic-0.6.0 vs lib/filemagic/ext.rb in ruby-filemagic-0.6.1

- old
+ new

@@ -18,18 +18,16 @@ def file(file, *flags) file_type(file, *flags) end def mime_type(file, *flags) - flags.unshift :mime - file_type(file, *flags) + file_type(file, *flags.unshift(:mime)) end alias_method :mime, :mime_type def content_type(file, *flags) - flags << { :simplified => true } - mime_type(file, *flags) + mime_type(file, *flags << { simplified: true }) end end module InstanceMethods