Class: Deface::Actions::Remove
- Defined in:
- lib/deface/actions/remove.rb
Instance Method Summary collapse
Methods inherited from Action
Constructor Details
This class inherits a constructor from Deface::Actions::Action
Instance Method Details
#execute(target_range) ⇒ Object
4 5 6 |
# File 'lib/deface/actions/remove.rb', line 4 def execute(target_range) target_range.map(&:remove) end |
#range_compatible? ⇒ Boolean
8 9 10 |
# File 'lib/deface/actions/remove.rb', line 8 def range_compatible? true end |