class Pry::Command::Ls

def options(opt)

def options(opt)
  opt.on :m, :methods, "Show public methods defined on the Object"
  opt.on :M, "instance-methods", "Show public methods defined in a " \
                                 "Module or Class"
  opt.on :p, :ppp, "Show public, protected (in yellow) and private " \
                   "(in green) methods"
  opt.on :q, :quiet, "Show only methods defined on object.singleton_class " \
                     "and object.class"
  opt.on :v, :verbose, "Show methods and constants on all super-classes " \
                       "(ignores Pry.config.ls.ceiling)"
  opt.on :g, :globals, "Show global variables, including those builtin to " \
                       "Ruby (in cyan)"
  opt.on :l, :locals, "Show hash of local vars, sorted by descending size"
  opt.on :c, :constants, "Show constants, highlighting classes (in blue), " \
                         "and exceptions (in purple).\n" \
                         "#{' ' * 32}Constants that are pending autoload? " \
                         "are also shown (in yellow)"
  opt.on :i, :ivars, "Show instance variables (in blue) and class " \
                     "variables (in bright blue)"
  opt.on :G, :grep, "Filter output by regular expression", argument: true
  if Object.respond_to?(:deprecate_constant)
    opt.on :d, :dconstants, "Show deprecated constants"
  end
  return unless Helpers::Platform.jruby?
  opt.on :J, "all-java", "Show all the aliases for methods from java " \
                         "(default is to show only prettiest)"
end