# File lib/dragonfly/job.rb, line 192 def analyse(method, *args) unless result raise NothingToAnalyse, "Can't analyse because temp object has not been initialized. Need to fetch first?" end # Hacky - wish there was a nicer way to do this without extending with yet another module if method == :format _format || analyser.analyse(result, method, *args) else analyser.analyse(result, method, *args) end end