Sha256: c7fd7468c8ebbc4b69534b925e8fdeae00ef7707e06e3b42f8efa94cd7730177

Contents?: true

Size: 322 Bytes

Versions: 27

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true

require_relative "debug"

module IRB
  # :stopdoc:

  module ExtendCommand
    class Info < DebugCommand
      def self.transform_args(args)
        args&.dump
      end

      def execute(*args)
        super(pre_cmds: ["info", *args].join(" "))
      end
    end
  end

  # :startdoc:
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
irb-1.7.1 lib/irb/cmd/info.rb
irb-1.7.0 lib/irb/cmd/info.rb
irb-1.6.4 lib/irb/cmd/info.rb
irb-1.6.3 lib/irb/cmd/info.rb
irb-1.6.2 lib/irb/cmd/info.rb
irb-1.6.1 lib/irb/cmd/info.rb
irb-1.6.0 lib/irb/cmd/info.rb