Sha256: 1363466b5bc4a214b3a767c67f2a823296d25b67dd8a1b7cf070a2c59ef0ac8d

Contents?: true

Size: 404 Bytes

Versions: 14

Compression:

Stored size: 404 Bytes

Contents

class PryMoves::Debug < PryMoves::TraceCommand

  def init(binding_)
    #
  end

  def trace(event, file, line, method, binding_)
    return if event != 'line' or @cancel_debug
    if @first_line_skipped
      if binding_.local_variable_defined?(:pry_cancel_debug)
        @cancel_debug = true
        return
      end
      true
    else
      @first_line_skipped = true
      false
    end
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
pry-moves-1.0.15 lib/commands/debug.rb
pry-moves-1.0.14 lib/commands/debug.rb
pry-moves-1.0.13 lib/commands/debug.rb
pry-moves-1.0.12 lib/commands/debug.rb
pry-moves-1.0.11 lib/commands/debug.rb
pry-moves-1.0.10 lib/commands/debug.rb
pry-moves-1.0.9 lib/commands/debug.rb
pry-moves-1.0.8 lib/commands/debug.rb
pry-moves-1.0.7 lib/commands/debug.rb
pry-moves-1.0.6 lib/commands/debug.rb
pry-moves-1.0.5 lib/commands/debug.rb
pry-moves-1.0.4 lib/commands/debug.rb
pry-moves-1.0.3 lib/commands/debug.rb
pry-moves-1.0.2 lib/commands/debug.rb