Command
Implements the debugger ‘method sig’ command.
# File cli/ruby-debug/commands/method.rb, line 16 def execute obj = debug_eval('method(:%s)' % @match[1]) if obj.is_a?(Method) begin print "%s\n", obj.signature.to_s rescue errmsg("Can't get signature for '#{@match[1]}'\n") end else errmsg("Can't make method out of '#{@match[1]}'\n") end end
Generated with the Darkfish Rdoc Generator 2.