Sha256: c55647ed9ad2871c40cc4525787c2973cd234634bd9aa9153ff2518020fe3e55
Contents?: true
Size: 414 Bytes
Versions: 31
Compression:
Stored size: 414 Bytes
Contents
require 'rabbit/element/slide' require 'rabbit/element/poppler-page' module Rabbit module Element class PopplerSlide < Slide def initialize(page) @page = PopplerPage.new(page) super(@page) end def headline @page end def body @page end def title (@page.text.split(/\r?\n/, 2)[0] || super).chomp end end end end
Version data entries
31 entries across 31 versions & 1 rubygems