| Class | Debugger::VarInheritCommand | 
| In: | cli/ruby-debug/commands/variables.rb | 
| Parent: | Command | 
     # File cli/ruby-debug/commands/variables.rb, line 191
191:       def help(cmd)
192:         %{
193:           v[ar] ct\t\t\tshow class heirarchy of object
194:         }
195:       end
          
     # File cli/ruby-debug/commands/variables.rb, line 172
172:     def execute
173:       unless @state.context
174:         errmsg "can't get object inheritance.\n"
175:         return 
176:       end
177:       puts @match.post_match
178:       obj = debug_eval("#{@match.post_match}.classtree")
179:       if obj
180:         print obj
181:       else
182:         errmsg "Trouble getting object #{@match.post_match}\n"
183:       end
184:     end