Sha256: a6175b15c610659512b96f581dd1988a50896fc70c38725b9e8b9707a9c1fdb5

Contents?: true

Size: 297 Bytes

Versions: 2

Compression:

Stored size: 297 Bytes

Contents

module Extract
  class Unescape < Base
    def unescape!
      unescape_tag = node.props[:unescape]

      paths_to_unescape = extractor.paths_of(node.path, unescape_tag)
      return if paths_to_unescape.empty?

      paths_to_unescape.each { |path| extractor.unescape!(path) }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xml_data_extractor-0.5.0 lib/src/extract/unescape.rb
xml_data_extractor-0.4.0 lib/src/extract/unescape.rb