lib/epub/publication/package/spine.rb in epub-parser-0.0.4 vs lib/epub/publication/package/spine.rb in epub-parser-0.0.5
- old
+ new
@@ -32,9 +32,10 @@
end
class Itemref
attr_accessor :spine,
:idref, :linear, :id, :properties
+ alias linear? linear
# @return [Package::Manifest::Item] item referred by this object
def item
@item ||= @spine.package.manifest[idref]
end