class Epuber::NavFile::LandmarkItem
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 [LandmarkItem]
# File lib/epuber/from_file/nav_file.rb, line 61 def self.from_node(node) new(node['href'], node['type']) end
new(href, type)
click to toggle source
@param [String] href @param [String] type
# File lib/epuber/from_file/nav_file.rb, line 52 def initialize(href, type) @href = href @type = type end