# File lib/pry/commands/ls/ls_entity.rb, line 17 def initialize(opts) @interrogatee = opts[:interrogatee] @no_user_opts = opts[:no_user_opts] @opts = opts[:opts] @args = opts[:args] @grep = Grep.new(Regexp.new(opts[:opts][:G] || '.')) @_pry_ = opts.delete(:_pry_) end
# File lib/pry/commands/ls/ls_entity.rb, line 26 def entities_table entities.map(&:write_out).reject { |o| !o }.join('') end