{"action":"created","issue":{"url":"https://api.github.com/repos/OTGApps/motion_print/issues/15","labels_url":"https://api.github.com/repos/OTGApps/motion_print/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/OTGApps/motion_print/issues/15/comments","events_url":"https://api.github.com/repos/OTGApps/motion_print/issues/15/events","html_url":"https://github.com/OTGApps/motion_print/pull/15","id":93134786,"number":15,"title":"Show formatted instance variables when available...","user":{"login":"digitalmoksha","id":20626,"avatar_url":"https://avatars.githubusercontent.com/u/20626?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalmoksha","html_url":"https://github.com/digitalmoksha","followers_url":"https://api.github.com/users/digitalmoksha/followers","following_url":"https://api.github.com/users/digitalmoksha/following{/other_user}","gists_url":"https://api.github.com/users/digitalmoksha/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalmoksha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalmoksha/subscriptions","organizations_url":"https://api.github.com/users/digitalmoksha/orgs","repos_url":"https://api.github.com/users/digitalmoksha/repos","events_url":"https://api.github.com/users/digitalmoksha/events{/privacy}","received_events_url":"https://api.github.com/users/digitalmoksha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-05T18:41:49Z","updated_at":"2015-07-09T15:02:20Z","closed_at":"2015-07-09T14:57:30Z","pull_request":{"url":"https://api.github.com/repos/OTGApps/motion_print/pulls/15","html_url":"https://github.com/OTGApps/motion_print/pull/15","diff_url":"https://github.com/OTGApps/motion_print/pull/15.diff","patch_url":"https://github.com/OTGApps/motion_print/pull/15.patch"},"body":"Love how motion_print nicely formats many classes.\r\n\r\nOne thing I've always wanted was to have better output of the instance variables that are shown by default when you output a class.  For example, doing `NSApplication.sharedApplication.delegate` gives something like\r\n\r\n```\r\n#<AppDelegate:0x100c9f8a0 @main_window=#<NSWindow:0x105f5af80> @main_controller=#\r\n<MainController:0x105f709a0> @toolbar_item_file_title=#<NSToolbarItem:0x10b09d270> \r\n@tool_bar=#<NSToolbar:0x10afd2f90> @appearance_observer=#<__NSObserver:0x100d55850>>\r\n```\r\n\r\nWhat I would like to see is something like this (colorized of course):\r\n\r\n```\r\nAppDelegate\r\n  :@main_window               => #<NSWindow:0x105f5af80>\r\n  :@main_controller           => #<MainController:0x105f709a0>\r\n  :@tool_bar                  => #<NSToolbar:0x10afd2f90>\r\n  :@appearance_observer       => #<__NSObserver:0x100d55850>\r\n```\r\n\r\nSo I've created the attached PR to implement this.  It doesn't effect any classes that implement the `motion_print` hook.  It also colorizes differently any instance variable that has public accessor method; makes it easy to know whether or not you can directly inspect that variable or not.\r\n\r\nHope you find it useful..."},"comment":{"url":"https://api.github.com/repos/OTGApps/motion_print/issues/comments/120017737","html_url":"https://github.com/OTGApps/motion_print/pull/15#issuecomment-120017737","issue_url":"https://api.github.com/repos/OTGApps/motion_print/issues/15","id":120017737,"user":{"login":"markrickert","id":139261,"avatar_url":"https://avatars.githubusercontent.com/u/139261?v=3","gravatar_id":"","url":"https://api.github.com/users/markrickert","html_url":"https://github.com/markrickert","followers_url":"https://api.github.com/users/markrickert/followers","following_url":"https://api.github.com/users/markrickert/following{/other_user}","gists_url":"https://api.github.com/users/markrickert/gists{/gist_id}","starred_url":"https://api.github.com/users/markrickert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markrickert/subscriptions","organizations_url":"https://api.github.com/users/markrickert/orgs","repos_url":"https://api.github.com/users/markrickert/repos","events_url":"https://api.github.com/users/markrickert/events{/privacy}","received_events_url":"https://api.github.com/users/markrickert/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T15:02:20Z","updated_at":"2015-07-09T15:02:20Z","body":"[Version 1.2.0](https://rubygems.org/gems/motion_print/versions/1.2.0) released.\r\n"}}