lib/chaotic_job/glitch.rb in chaotic_job-0.0.1 vs lib/chaotic_job/glitch.rb in chaotic_job-0.1.0
- old
+ new
@@ -59,10 +59,10 @@
def set_breakpoint(path_with_line, position, &block)
@breakpoints[path_with_line] ||= {}
# contents = File.read(file_path).split("\n") unless @file_contents.key?(path_with_line)
# @file_contents << contents
- @breakpoints[path_with_line][position] = { block: block, executed: false }
+ @breakpoints[path_with_line][position] = {block: block, executed: false}
end
def execute_block(handler)
return unless handler
return if handler[:executed]