From 5073056831148114b7b242666f1c330861221f24 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 1 Jul 2014 09:37:52 +0200 Subject: [PATCH] Added require() for StringIO. This is needed since the lexer checks if the input is a StringIO instance. --- lib/oga.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/oga.rb b/lib/oga.rb index 9a12daf..4143d8a 100644 --- a/lib/oga.rb +++ b/lib/oga.rb @@ -1,5 +1,6 @@ require 'ast' require 'set' +require 'stringio' # Load these first so that the native extensions don't have to define the # Oga::XML namespace.