# File lib/pry/default_commands/input_and_output.rb, line 164 def process handler = case when opts.present?(:ex) method :process_ex when opts.present?(:in) method :process_in else method :process_file end output = handler.call do |code| code.code_type = opts[:type] || :ruby code.between(opts[:start] || 1, opts[:end] || -1). with_line_numbers(opts.present?('line-numbers''line-numbers') || opts.present?(:ex)) end render_output(output, opts) end