sxrb 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sxrb/parser.rb +2 -2
- metadata +1 -1
data/lib/sxrb/parser.rb
CHANGED
@@ -13,9 +13,9 @@ module SXRB
|
|
13
13
|
when :string
|
14
14
|
LibXML::XML::SaxParser.string(input)
|
15
15
|
when :file
|
16
|
-
LibXML::XML::SaxParser.
|
16
|
+
LibXML::XML::SaxParser.file(input)
|
17
17
|
when :io
|
18
|
-
LibXML::XML::SaxParser.
|
18
|
+
LibXML::XML::SaxParser.io(input)
|
19
19
|
end
|
20
20
|
|
21
21
|
callbacks = Callbacks.new.tap do |cb|
|