Sha256: 903c6f1edad0d3a77d9e6e148095c70d0c56ee10b5c21de519b663ed2c782f87
Contents?: true
Size: 474 Bytes
Versions: 6
Compression:
Stored size: 474 Bytes
Contents
module CodeBuddy class Stack attr_reader :stack_frames attr_accessor :selected def initialize(exception_or_string) if exception_or_string.is_a?(Exception) @selected = selected @stack_frames = exception_or_string.backtrace.collect do |string| StackFrame.new(string) end else @stack_frames = exception_or_string.collect do |string| StackFrame.new(string) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems