Class: Extract::Unescape
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Extract::Base
Instance Method Details
#unescape! ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/src/extract/unescape.rb', line 5 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 |