haileys/rgr
Ruby Grep
{ "createdAt": "2014-02-05T01:58:21Z", "defaultBranch": "master", "description": "Ruby Grep", "fullName": "haileys/rgr", "homepage": null, "language": "Ruby", "name": "rgr", "pushedAt": "2024-03-21T11:17:18Z", "stargazersCount": 37, "topics": [], "updatedAt": "2024-03-21T11:17:21Z", "url": "https://github.com/haileys/rgr"}rgr is a Ruby-aware search tool designed to make exploring large codebases easier.
λ rgr ' _ + _ 'lib/better_errors/code_formatter.rb59: max = [line + context, source_lines.count].minlib/better_errors/error_page.rb110: str + "\n" + char*str.size110: str + "\n" + char*str.sizelib/better_errors/middleware.rb137: "<h1>No errors</h1><p>No errors have been recorded yet.</p><hr>" +lib/better_errors/stack_frame.rb70: filename[(BetterErrors.application_root.length+1)..-1]λ rgr '_.to_s'lib/better_errors/middleware.rb112: !env["HTTP_ACCEPT"].to_s.include?('html')lib/better_errors/rails.rb8: BetterErrors.application_root = Rails.root.to_slib/better_errors/rails2.rb9: BetterErrors.application_root = Rails.root.to_slib/better_errors/repl/basic.rb16: "!! #{e.inspect rescue e.class.to_s rescue "Exception"}\n"lib/better_errors/stack_frame.rb118: hash[name] = frame_binding.eval(name.to_s)130: [x, frame_binding.eval(x.to_s)]