Debugger::Command
Implements the debugger ‘var local’ command.
# File lib/ruby-debug/commands/variables.rb, line 155 def execute locals = [] _self = @state.context.frame_self(@state.frame_pos) locals << ['self', _self] unless _self.to_s == "main" locals += @state.context.frame_locals(@state.frame_pos).sort.map { |key, value| [key, value] } print prv(locals, 'instance') end
Generated with the Darkfish Rdoc Generator 2.