class Epuber::NavFile::LandmarkItem
Attributes
@return [String]
@return [String]
Public Class Methods
Source
# File lib/epuber/from_file/nav_file.rb, line 61 def self.from_node(node) new(node['href'], node['type']) end
@param [Nokogiri::XML::Node] node
@return [LandmarkItem]
Source
# File lib/epuber/from_file/nav_file.rb, line 52 def initialize(href, type) @href = href @type = type end
@param [String] href @param [String] type