# File lib/backports/1.9.1/io.rb, line 17
      def open_with_options_hash(*args)
        if args.size > 2 || args[1].is_a?(Hash)
          fd, mode, options = (args << Backports::Undefined)
          args = [fd, Backports.combine_mode_and_option(mode, options)]
        end
        if block_given?
          open_without_options_hash(*args){|f| yield f}
        else
          open_without_options_hash(*args)
        end
      end