lib/dead_end/code_search.rb
# Removes the block without putting it back in the frontier
Removes the block without putting it back in the frontier
Removes the block without putting it back in the frontier
def sweep(block:, name:)
      record(block: block, name: name)
      block.lines.each(&:mark_invisible)
      frontier.register_indent_block(block)
    end
def sweep ( block : , name : ) record ( block : block , name : name ) block . lines . each ( & :mark_invisible ) frontier . register_indent_block ( block ) end
Removes the block without putting it back in the frontier
Removes the block without putting it back in the frontier
block
name