def evaluate_for_wraith(value)
        @settings[:wraith] = {}

        if value.include?('browser')
          value['browser'].each do |browser, browser_value|
            next if browser_value.is_a?(FalseClass)

            # @todo a snap file cannot be set in the config
            snap_file = case browser
              when 'casperjs' then 'casper'
              when 'nojs' then 'nojs'
              else 'snap'
            end

            new_data = {
              'browser' => [{ browser.to_s => browser.to_s }],
              'directory' => "maximus_wraith_#{browser}",
              'history_dir' => "maximus_wraith_history_#{browser}",
              'snap_file' => File.join(File.dirname(__FILE__), "config/wraith/#{snap_file}.js")
            }

            @settings[:wraith][browser.to_sym] = wraith_setup(new_data, "maximus_wraith_#{browser}")
          end
        else
          append_value = {
            'browser' => { 'phantomjs' => 'phantomjs' },
            'directory' => 'maximus_wraith_phantomjs',
            'history_dir' => 'maximus_wraith_history_phantomjs',
            'snap_file' => File.join(File.dirname(__FILE__), "config/wraith/snap.js")
          }
          @settings[:wraith][:phantomjs] = wraith_setup value.merge(append_value)
        end

      end
def evaluate_for_wraith(value)
        @settings[:wraith] = {}

        if value.include?('browser')
          value['browser'].each do |browser, browser_value|
            next if browser_value.is_a?(FalseClass)

            # @todo a snap file cannot be set in the config
            snap_file = case browser
              when 'casperjs' then 'casper'
              when 'nojs' then 'nojs'
              else 'snap'
            end

            new_data = {
              'browser' => [{ browser.to_s => browser.to_s }],
              'directory' => "maximus_wraith_#{browser}",
              'history_dir' => "maximus_wraith_history_#{browser}",
              'snap_file' => File.join(File.dirname(__FILE__), "config/wraith/#{snap_file}.js")
            }

            @settings[:wraith][browser.to_sym] = wraith_setup(new_data, "maximus_wraith_#{browser}")
          end
        else
          append_value = {
            'browser' => { 'phantomjs' => 'phantomjs' },
            'directory' => 'maximus_wraith_phantomjs',
            'history_dir' => 'maximus_wraith_history_phantomjs',
            'snap_file' => File.join(File.dirname(__FILE__), "config/wraith/snap.js")
          }
          @settings[:wraith][:phantomjs] = wraith_setup value.merge(append_value)
        end

      end
Apply wraith defaults/merge existing config
 @since 0.1.5
 @see yaml_evaluate
 @param value [Hash]