Sha256: 5c0d90d0bd87e745616b935f68ec1f6702c6a3ab20cda0bb310a3bfc8fc94131

Contents?: true

Size: 597 Bytes

Versions: 22

Compression:

Stored size: 597 Bytes

Contents

# frozen_string_literal: true

require_relative "show_doc"

module IRB
  module ExtendCommand
    class Help < ShowDoc
      category "Context"
      description "[DEPRECATED] Enter the mode to look up RI documents."

      DEPRECATION_MESSAGE = <<~MSG
        [Deprecation] The `help` command will be repurposed to display command help in the future.
        For RI document lookup, please use the `show_doc` command instead.
        For command help, please use `show_cmds` for now.
      MSG

      def execute(*names)
        warn DEPRECATION_MESSAGE
        super
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
irb-1.11.2 lib/irb/cmd/help.rb
irb-1.11.1 lib/irb/cmd/help.rb
irb-1.11.0 lib/irb/cmd/help.rb
study_line-0.1.6 vendor/bundle/ruby/3.2.0/gems/irb-1.8.3/lib/irb/cmd/help.rb
study_line-0.1.5 vendor/bundle/ruby/3.2.0/gems/irb-1.8.3/lib/irb/cmd/help.rb
study_line-0.1.4 vendor/bundle/ruby/3.2.0/gems/irb-1.8.3/lib/irb/cmd/help.rb
study_line-0.1.3 vendor/bundle/ruby/3.2.0/gems/irb-1.8.3/lib/irb/cmd/help.rb
irb-1.10.1 lib/irb/cmd/help.rb
study_line-0.1.2 vendor/bundle/ruby/3.2.0/gems/irb-1.8.3/lib/irb/cmd/help.rb
study_line-0.1.1 vendor/bundle/ruby/3.2.0/gems/irb-1.8.3/lib/irb/cmd/help.rb
irb-1.10.0 lib/irb/cmd/help.rb
irb-1.9.1 lib/irb/cmd/help.rb
irb-1.9.0 lib/irb/cmd/help.rb
irb-1.8.3 lib/irb/cmd/help.rb
irb-1.8.2 lib/irb/cmd/help.rb
irb-1.8.1 lib/irb/cmd/help.rb
irb-1.8.0 lib/irb/cmd/help.rb
irb-1.7.4 lib/irb/cmd/help.rb
irb-1.7.3 lib/irb/cmd/help.rb
irb-1.7.2 lib/irb/cmd/help.rb