method

execute

ruby latest stable - Class: IRB::ExtendCommand::Help

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

execute(*names)
public

No documentation available.

# File lib/irb/cmd/help.rb, line 22
        def execute(*names)
          if names.empty?
            Ri.interactive
            return
          end
          names.each do |name|
            begin
              Ri.display_name(name.to_s)
            rescue RDoc::RI::Error
              puts $!.message
            end
          end
          nil
        end