Debugger::Command
Implements the debugger ‘var class’ command.
# File lib/ruby-debug/commands/variables.rb, line 49 def help(cmd) %{ v[ar] cl[ass] \t\t\tshow class variables of self } end
# File lib/ruby-debug/commands/variables.rb, line 45 def help_command 'var' end
# File lib/ruby-debug/commands/variables.rb, line 36 def execute unless @state.context errmsg "can't get class variables here.\n" return end var_class_self end
# File lib/ruby-debug/commands/variables.rb, line 32 def regexp /^\s*v(?:ar)?\s+cl(?:ass)?/ end
[Validate]
Generated with the Darkfish Rdoc Generator 2.