class Epuber::OpfFile::GuideItem

Attributes

href[RW]

@return [String]

type[RW]

@return [String]

Public Class Methods

from_node(node) click to toggle source

@param [Nokogiri::XML::Node] node

@return [GuideItem]

# File lib/epuber/from_file/opf_file.rb, line 95
def self.from_node(node)
  new(node['type'], node['href'])
end
new(type, href) click to toggle source
# File lib/epuber/from_file/opf_file.rb, line 86
def initialize(type, href)
  @type = type
  @href = href
end