class Epuber::OpfFile::SpineItem
Attributes
@return [String]
@return [String]
Public Class Methods
Source
# File lib/epuber/from_file/opf_file.rb, line 72 def self.from_node(node) new(node['idref'], node['linear']) end
@param [Nokogiri::XML::Node] node
@return [SpineItem]
Source
# File lib/epuber/from_file/opf_file.rb, line 55 def initialize(idref, linear) @idref = idref @linear = linear end
Public Instance Methods
Source
# File lib/epuber/from_file/opf_file.rb, line 64 def ==(other) @idref == other.idref end
@param [SpineItem] other
@return [Boolean]