{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-prof/ruby-prof/issues/168","labels_url":"https://api.github.com/repos/ruby-prof/ruby-prof/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/ruby-prof/ruby-prof/issues/168/comments","events_url":"https://api.github.com/repos/ruby-prof/ruby-prof/issues/168/events","html_url":"https://github.com/ruby-prof/ruby-prof/issues/168","id":104425800,"number":168,"title":"After 5 eliminate_methods! patterns given, all output is blank","user":{"login":"krainboltgreene","id":334809,"avatar_url":"https://avatars.githubusercontent.com/u/334809?v=3","gravatar_id":"","url":"https://api.github.com/users/krainboltgreene","html_url":"https://github.com/krainboltgreene","followers_url":"https://api.github.com/users/krainboltgreene/followers","following_url":"https://api.github.com/users/krainboltgreene/following{/other_user}","gists_url":"https://api.github.com/users/krainboltgreene/gists{/gist_id}","starred_url":"https://api.github.com/users/krainboltgreene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krainboltgreene/subscriptions","organizations_url":"https://api.github.com/users/krainboltgreene/orgs","repos_url":"https://api.github.com/users/krainboltgreene/repos","events_url":"https://api.github.com/users/krainboltgreene/events{/privacy}","received_events_url":"https://api.github.com/users/krainboltgreene/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T08:21:22Z","updated_at":"2015-12-06T12:30:04Z","closed_at":"2015-12-06T12:30:03Z","body":"``` ruby\r\nresult.eliminate_methods!([/Array/, /Hash/, /Class/, /Scrawl/, /Enumerable/])\r\n\r\n```\r\n\r\n== Fine\r\n\r\n``` ruby\r\nresult.eliminate_methods!([/Array/, /Hash/, /Class/, /Scrawl/, /Enumerable/, /Regexp/])\r\n```\r\n\r\n=== No printing\r\n\r\nThis has been tested with any class name, using the `GraphPrinter`.\r\n\r\nMy example:\r\n\r\n``` ruby\r\nrequire \"ruby-prof\"\r\nrequire \"earhart\"\r\n\r\nresult = RubyProf.profile do\r\n  pattern = Earhart::Pattern.new(verb: \"GET\", resource: \"/persons/1\")\r\n  route = Earhart::Route.new(pattern, Object)\r\n  routes = Earhart::Routes.new([route])\r\n  routes.find(\"verb=\\\"GET\\\" resource=\\\"/persons/1\\\"\")\r\nend\r\n\r\nresult.eliminate_methods!([/Array/, /Hash/, /Class/, /Scrawl/, /Enumerable/, /Regexp/])\r\n\r\nif ENV[\"PROFILE_NOTE\"]\r\n  RubyProf::GraphPrinter.new(result).print(STDOUT, {})\r\nelse\r\n  RubyProf::MultiPrinter.new(result).print(path: File.join(\"tmp\"), profile: File.basename(__FILE__))\r\nend\r\n```\r\n\r\n(Really, I think this just shows a `focus_signature!(...)` method could be useful. A whitelist instead of a blacklist. "},"comment":{"url":"https://api.github.com/repos/ruby-prof/ruby-prof/issues/comments/162310279","html_url":"https://github.com/ruby-prof/ruby-prof/issues/168#issuecomment-162310279","issue_url":"https://api.github.com/repos/ruby-prof/ruby-prof/issues/168","id":162310279,"user":{"login":"skaes","id":17514,"avatar_url":"https://avatars.githubusercontent.com/u/17514?v=3","gravatar_id":"","url":"https://api.github.com/users/skaes","html_url":"https://github.com/skaes","followers_url":"https://api.github.com/users/skaes/followers","following_url":"https://api.github.com/users/skaes/following{/other_user}","gists_url":"https://api.github.com/users/skaes/gists{/gist_id}","starred_url":"https://api.github.com/users/skaes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skaes/subscriptions","organizations_url":"https://api.github.com/users/skaes/orgs","repos_url":"https://api.github.com/users/skaes/repos","events_url":"https://api.github.com/users/skaes/events{/privacy}","received_events_url":"https://api.github.com/users/skaes/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T12:30:03Z","updated_at":"2015-12-06T12:30:03Z","body":"I ran your example program and could not reproduce the issue. Therefore closing it."}}