lib/gepub/resource_builder.rb in gepub-0.6.8.3 vs lib/gepub/resource_builder.rb in gepub-0.6.8.5

- old
+ new

@@ -81,9 +81,15 @@ itemref = @book.spine.itemref_by_id[@last_defined_item.item.id] raise 'page_spread_right should be called inside ordered' if (itemref.nil?) itemref.page_spread_right end + def linear val + itemref = @book.spine.itemref_by_id[@last_defined_item.item.id] + raise 'linear should be called inside ordered' if (itemref.nil?) + itemref.linear = val + end + def glob(arg) files(*Dir.glob(arg)) end def import(conf, args = {})