{"action":"created","issue":{"url":"https://api.github.com/repos/whitequark/ast/issues/6","labels_url":"https://api.github.com/repos/whitequark/ast/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/whitequark/ast/issues/6/comments","events_url":"https://api.github.com/repos/whitequark/ast/issues/6/events","html_url":"https://github.com/whitequark/ast/issues/6","id":106540914,"number":6,"title":"debug inspect","user":{"login":"dancinglightning","id":142157,"avatar_url":"https://avatars.githubusercontent.com/u/142157?v=3","gravatar_id":"","url":"https://api.github.com/users/dancinglightning","html_url":"https://github.com/dancinglightning","followers_url":"https://api.github.com/users/dancinglightning/followers","following_url":"https://api.github.com/users/dancinglightning/following{/other_user}","gists_url":"https://api.github.com/users/dancinglightning/gists{/gist_id}","starred_url":"https://api.github.com/users/dancinglightning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancinglightning/subscriptions","organizations_url":"https://api.github.com/users/dancinglightning/orgs","repos_url":"https://api.github.com/users/dancinglightning/repos","events_url":"https://api.github.com/users/dancinglightning/events{/privacy}","received_events_url":"https://api.github.com/users/dancinglightning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-15T12:00:57Z","updated_at":"2015-09-18T19:43:41Z","closed_at":null,"body":"great stuff , thanks.\r\n\r\nThis just reduced my 10 (hand coded ast-) classes to nothing.  Great :-)\r\n\r\nIn doing that i was obviously using the handy s() function. But also i wrote a modified Node.inspect\r\nthat gets included with the s() and prints out the node in *the exact* same way as the code needs it.\r\n\r\nThe effect being that one can copy paste the failed test output as an expected result (it's ruby code, yeah)\r\n\r\nI found that very handy and could make  a pull request. Code is here https://github.com/dancinglightning/ast/commit/fdb4d8cb7a36601d76750dab658893e30e85c8c9\r\n"},"comment":{"url":"https://api.github.com/repos/whitequark/ast/issues/comments/141549163","html_url":"https://github.com/whitequark/ast/issues/6#issuecomment-141549163","issue_url":"https://api.github.com/repos/whitequark/ast/issues/6","id":141549163,"user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T19:43:41Z","updated_at":"2015-09-18T19:43:41Z","body":"> Ideally, to_s would return the current representation and inspect would return yours; however, I don't know how many people rely on the return values being what they are, and it's probably not worth a major version bump.\r\n\r\nI'm not using this is as well, so I think making this change is unlikely to affect many (any) users."}}