Sha256: d207e51866d3735c6d3feb558f386cb8477919f5255975b91cc81ba05a9f10c3

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

module Byebug

  class Context

    def inspect
      values = %w{
        thread thnum stop_reason tracing ignored? stack_size dead? frame_line frame_file frame_self
      }.map do |field|
        "#{field}: #{send(field)}"
      end.join(", ")
      "#<Byebug::Context #{values}>"
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
byebug-1.1.0 test/support/context.rb
byebug-1.0.3 test/support/context.rb
byebug-1.0.2 test/support/context.rb
byebug-1.0.1 test/support/context.rb
byebug-1.0.0 test/support/context.rb