# File lib/ruby-debug/printers/plain.rb, line 6 def print(path, args = {}) message = translate(locate(path), args) message << " (y/n) " if parts(path).include?("confirmations") message << "\n" end
# File lib/ruby-debug/printers/plain.rb, line 12 def print_collection(path, collection, &block) modifier = get_modifier(path) lines = array_of_args(collection, &block).map { |args| print(path, args) } if modifier == 'c' columnize(lines.map { |l| l.gsub(/\n$/, '') }, Debugger.settings[:width]) else lines.join("") end end
Generated with the Darkfish Rdoc Generator 2.