Sha256: e0a32ce26ed1191a766d630db7d7e029ef52d39761c4cb8007c34269f7623268

Contents?: true

Size: 405 Bytes

Versions: 9

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

module IRB
  module Command
    class Context < Base
      category "IRB"
      description "Displays current configuration."

      def execute(_arg)
        # This command just displays the configuration.
        # Modifying the configuration is achieved by sending a message to IRB.conf.
        Pager.page_content(IRB.CurrentContext.inspect)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/irb-1.14.0/lib/irb/command/context.rb
irb-1.14.3 lib/irb/command/context.rb
irb-1.14.2 lib/irb/command/context.rb
irb-1.14.1 lib/irb/command/context.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/irb-1.13.2/lib/irb/command/context.rb
irb-1.14.0 lib/irb/command/context.rb
irb-1.13.2 lib/irb/command/context.rb
irb-1.13.1 lib/irb/command/context.rb
irb-1.13.0 lib/irb/command/context.rb