class Pry::Command::Ls::Methods
def below_ceiling
Get a lambda that can be used with `take_while` to prevent over-eager
def below_ceiling ceiling = if @quiet_switch [Pry::Method.safe_send(interrogatee_mod, :ancestors)[1]] + pry_instance.config.ls.ceiling elsif @verbose_switch [] else pry_instance.config.ls.ceiling.dup end ->(klass) { !ceiling.include?(klass) } end