module EPUB::Searcher
Public Class Methods
search_by_cfi(epub, cfi)
click to toggle source
# File lib/epub/searcher.rb, line 16 def search_by_cfi(epub, cfi) Publication.search_by_cfi(epub.package, cfi) end
search_element(epub, css: nil, xpath: nil, namespaces: {})
click to toggle source
# File lib/epub/searcher.rb, line 12 def search_element(epub, css: nil, xpath: nil, namespaces: {}) Publication.search_element(epub.package, css: css, xpath: xpath, namespaces: namespaces) end
search_text(epub, word, **options)
click to toggle source
# File lib/epub/searcher.rb, line 8 def search_text(epub, word, **options) Publication.search_text(epub.package, word, options) end