Sha256: 8f8e8012026aa63ee2de56e145c153a5f2ce8de300ef81d374faf0266dcea506
Contents?: true
Size: 245 Bytes
Versions: 2
Compression:
Stored size: 245 Bytes
Contents
module KindleManager class BaseParser def initialize(filepath, options = {}) @filepath = filepath end def doc @doc ||= Nokogiri::HTML(body) end def body @body ||= File.read(@filepath) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kindle_manager-0.4.0 | lib/kindle_manager/parsers/base_parser.rb |
kindle_manager-0.3.0 | lib/kindle_manager/parsers/base_parser.rb |