Sha256: 8b97b35694079baa80b7b5b81318bd15d41a6d71cff0985c541a14b4bd04c685

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

require "irb"

module IRB
  module Command
    class Look < Base
      category "Introspection"
      description 'Method list and lookup path inspection based on looksee gem'

      def execute(*args)
        if args.empty?
          @irb_context.workspace.binding.look
        else
          obj, *params = *args
          obj.look(*params)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
irbtools-4.0.8 lib/irbtools/commands/look.rb