# File lib/ruport/controller.rb, line 181 def save_as(file,options={}) file =~ /.*\.(.*)/ format = $1 as(format.to_sym, options.merge(:file => file)) end