Commit 1add0879 authored by KitaitiMakoto's avatar KitaitiMakoto

Change XML backend name: :rexml -> :REXML, :nokogiri -> :Nokogiri

parent 955e3662
......@@ -7,13 +7,13 @@ end
module EPUB
class Parser
class XMLDocument
@backend = :rexml
@backend = :REXML
class << self
attr_accessor :backend
def new(xml)
if backend == :nokogiri
if backend == :Nokogiri
Nokogiri.XML(xml)
else
REXML::Document.new(xml)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment