class Deface::Actions::Replace

Public Instance Methods

execute(target_range) click to toggle source
# File lib/deface/actions/replace.rb, line 4
def execute(target_range)
  target_range.first.before(source_element)
  target_range.map(&:remove)
end
range_compatible?() click to toggle source
# File lib/deface/actions/replace.rb, line 9
def range_compatible?
  true
end