# File lib/rabbit/parser/image.rb, line 13 def match?(source) options = { :prefix => "image-parser-match", :source => source, } Rabbit::TemporaryFile.create(options) do |input| begin Rabbit::ImageLoader.new(input.path) true rescue Rabbit::ImageLoadError false end end end
Generated with the Darkfish Rdoc Generator 2.