# File lib/graster.rb, line 296 def initialize opts={} self.config = DEFAULTS.dup if opts[:config_file] self.merge_config load_config_file opts[:config_file] elsif opts[:default_config_file] && c = try_load_default_config_file self.merge_config c end self.merge_config opts[:config] if opts[:config] @debug = opts[:debug] if opts[:image] image = opts[:image] elsif opts[:image_file] load_image_file opts[:image_file] end end