Sha256: 503f2e1156891b6bf6913baa12ef46ecd3718a9597fe6e5059afc0ebabe8ccbf
Contents?: true
Size: 261 Bytes
Versions: 28
Compression:
Stored size: 261 Bytes
Contents
module Deface module Actions class Replace < ElementAction def execute(target_range) target_range.first.before(source_element) target_range.map(&:remove) end def range_compatible? true end end end end
Version data entries
28 entries across 28 versions & 2 rubygems