def parse_options(opts)
      opts_hs_ary = opts.map { |x| x.is_a?(Hash) ? x : { path: x } }
      opts_hs_ary.reduce(default_options) { |a, e| a.merge(e) }
    end
def parse_options(opts)
      opts_hs_ary = opts.map { |x| x.is_a?(Hash) ? x : { path: x } }
      opts_hs_ary.reduce(default_options) { |a, e| a.merge(e) }
    end
Parses the configuration options passed to the constructor.

 @example
   self.parse_options #=> {:path=>".", :rm=>true, :log_level=>:silent}

 @param opts [Array<String, Hash>] The list of optitag. The strings will
   be interpreted as `:path`, others will be merged.

 @return [Hash] The configuration options.

 @see #initialize

 @api private