Commit c0f90096 authored by KitaitiMakoto's avatar KitaitiMakoto

Add require method for ContentDocument#nokogiri

parent a63975f7
......@@ -34,6 +34,7 @@ module EPUB
# @return [Nokogiri::XML::Document] content as Nokogiri::XML::Document object
def nokogiri
require 'nokogiri'
@nokogiri ||= Nokogiri.XML(raw_document)
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