class Pry::Command::Ls::SelfMethods

def correct_opts?

def correct_opts?
  @no_user_opts && interrogating_a_module?
end

def initialize(interrogatee, no_user_opts, opts, pry_instance)

def initialize(interrogatee, no_user_opts, opts, pry_instance)
  super(pry_instance)
  @interrogatee = interrogatee
  @no_user_opts = no_user_opts
  @ppp_switch = opts[:ppp]
  @jruby_switch = opts['all-java']
end

def output_self

def output_self
  methods = all_methods(true).select do |m|
    m.owner == @interrogatee && grep.regexp[m.name]
  end
  heading = "#{Pry::WrappedModule.new(@interrogatee).method_prefix}methods"
  output_section(heading, format(methods))
end