Class: ReeText::TargetScrubber

Inherits:
PermitScrubber show all
Defined in:
lib/ree_lib/packages/ree_text/package/ree_text/scrubbers/target_scrubber.rb

Instance Attribute Summary

Attributes inherited from PermitScrubber

#attributes, #prune, #tags

Instance Method Summary collapse

Methods inherited from PermitScrubber

#initialize, #scrub

Constructor Details

This class inherits a constructor from ReeText::PermitScrubber

Instance Method Details

#allowed_node?(node) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/ree_lib/packages/ree_text/package/ree_text/scrubbers/target_scrubber.rb', line 4

def allowed_node?(node)
  !super
end

#scrub_attribute?(name) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/ree_lib/packages/ree_text/package/ree_text/scrubbers/target_scrubber.rb', line 8

def scrub_attribute?(name)
  !super
end