Sha256: 8b68b450364ba5a9bf64785cafd5a195da37aac4407fa39808a7b3f7ea5a6758
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
module Wovnrb class ReplacerBase def replace(dom, lang) raise NotImplementedError.new('replace is not defined') end protected def wovn_ignore?(node) if !node.get_attribute('wovn-ignore').nil? return true elsif node.name === 'html' return false end wovn_ignore?(node.parent) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wovnrb-0.2.02 | lib/wovnrb/html_replacers/replacer_base.rb |